Update of /cvsroot/mockpp/mockpp/mockpp/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31235/mockpp/tests
Modified Files:
Formatter_test.cpp
Log Message:
fixes msvc2005
Index: Formatter_test.cpp
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/Formatter_test.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- Formatter_test.cpp 1 Jan 2006 16:34:47 -0000 1.39
+++ Formatter_test.cpp 6 Jan 2006 16:02:34 -0000 1.40
@@ -360,7 +360,7 @@
mockpp::String str = mockpp::number(ul); // base 10
char buff[100];
#ifdef HAVE_SPRINTF_S
- sprintf_s(buff, "%ld", ul );
+ sprintf_s(buff, "%lu", ul );
#else
std::sprintf(buff, "%lu", ul );
#endif
|