[Box Backup-commit] COMMIT r1820 - box/chris/general/lib/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Fri Sep 7 21:50:25 BST 2007
Author: chris
Date: 2007-09-07 21:50:25 +0100 (Fri, 07 Sep 2007)
New Revision: 1820
Modified:
box/chris/general/lib/common/ConversionString.cpp
Log:
Fix warning.
Modified: box/chris/general/lib/common/ConversionString.cpp
===================================================================
--- box/chris/general/lib/common/ConversionString.cpp 2007-09-07 20:49:00 UTC (rev 1819)
+++ box/chris/general/lib/common/ConversionString.cpp 2007-09-07 20:50:25 UTC (rev 1820)
@@ -123,7 +123,7 @@
void BoxConvert::_ConvertIntToString(std::string &rTo, int32_t From)
{
char text[64]; // size more than enough
- ::sprintf(text, "%d", From);
+ ::sprintf(text, "%d", (long)From);
rTo = text;
}
More information about the Boxbackup-commit
mailing list