[Box Backup-dev] COMMIT r829 - box/chris/merge/bin/bbstored
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Wed, 30 Aug 2006 19:31:54 +0100
Author: chris
Date: 2006-08-30 19:31:54 +0100 (Wed, 30 Aug 2006)
New Revision: 829
Modified:
box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp
Log:
* bin/bbstored/BackupStoreDaemon.cpp
- Cast off_t to long long, in case they differ in size (e.g. Win32)
Modified: box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp
===================================================================
--- box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp 2006-08-30 18:28:29 UTC (rev 828)
+++ box/chris/merge/bin/bbstored/BackupStoreDaemon.cpp 2006-08-30 18:31:54 UTC (rev 829)
@@ -300,6 +300,8 @@
// Log the amount of data transferred
::syslog(LOG_INFO, "Connection statistics for %s: "
"IN=%lld OUT=%lld TOTAL=%lld\n", commonName,
- s.GetBytesRead(), s.GetBytesWritten(),
- s.GetBytesRead() + s.GetBytesWritten());
+ (long long)s.GetBytesRead(),
+ (long long)s.GetBytesWritten(),
+ (long long)s.GetBytesRead() +
+ (long long)s.GetBytesWritten());
}