summaryrefslogtreecommitdiff
path: root/bin/bbstoreaccounts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bbstoreaccounts')
-rwxr-xr-xbin/bbstoreaccounts/bbstoreaccounts.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bbstoreaccounts/bbstoreaccounts.cpp b/bin/bbstoreaccounts/bbstoreaccounts.cpp
index 89edd0b2..dd42458b 100755
--- a/bin/bbstoreaccounts/bbstoreaccounts.cpp
+++ b/bin/bbstoreaccounts/bbstoreaccounts.cpp
@@ -70,7 +70,11 @@ const char *BlockSizeToString(int64_t Blocks, int DiscSet)
double mb = (Blocks * BlockSizeOfDiscSet(DiscSet)) / (1024.0*1024.0);
// Format string
+#ifdef WIN32
+ sprintf(string, "%I64d (%.2fMb)", Blocks, mb);
+#else
sprintf(string, "%lld (%.2fMb)", Blocks, mb);
+#endif
return string;
}