From 64990da08f81d3da8f401d74a6d4d110282d0b32 Mon Sep 17 00:00:00 2001 From: wbaumann Date: Sat, 4 Aug 2012 15:24:42 +0000 Subject: [PATCH] Fix integer format warnings --- ChangeLog | 4 ++++ src/mount_davfs.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3838b7e..0a9b170 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ ChangeLog for davfs2 -------------------- +2012-08-04 Werner Baumann (werner.baumann@onlinehome.de) + * mount_davfs.c: + Fix integer format warnings. + 2012-08-03 Werner Baumann (werner.baumann@onlinehome.de) * cache.c, kernel_interface.c: Fix integer format warnings. diff --git a/src/mount_davfs.c b/src/mount_davfs.c index c62aec4..56bdaf5 100644 --- a/src/mount_davfs.c +++ b/src/mount_davfs.c @@ -1743,7 +1743,7 @@ log_dbg_config(dav_args *args) syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), " kernel_fs: %s", args->kernel_fs); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), - " buf_size: %i KiB", args->buf_size); + " buf_size: %llu KiB", (unsigned long long) args->buf_size); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), " fsuid: %i", args->fsuid); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), @@ -1821,9 +1821,9 @@ log_dbg_config(dav_args *args) syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), " backup_dir: %s", args->backup_dir); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), - " cache_size: %i MiB", args->cache_size); + " cache_size: %llu MiB", (unsigned long long) args->cache_size); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), - " table_size: %i", args->table_size); + " table_size: %llu", (unsigned long long) args->table_size); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG), " dir_refresh: %li s", args->dir_refresh); syslog(LOG_MAKEPRI(LOG_DAEMON, LOG_DEBUG),