[Compbench-devel] CompBenchmarks++/System System.cpp, 1.8, 1.9 System.h, 1.10, 1.11
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2006-12-07 21:05:21
|
Update of /cvsroot/compbench/CompBenchmarks++/System In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv1485 Modified Files: System.cpp System.h Log Message: A couple of compilation warnings fixed (signed/unsigned comparaison). Index: System.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/System/System.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** System.cpp 23 Nov 2006 16:39:07 -0000 1.8 --- System.cpp 7 Dec 2006 21:05:06 -0000 1.9 *************** *** 106,110 **** ! std::string CBMSystem::Split(const std::string& str, const std::string& delim, int wantedIndex) { unsigned int offset = 0; --- 106,110 ---- ! std::string CBMSystem::Split(const std::string& str, const std::string& delim, unsigned int wantedIndex) { unsigned int offset = 0; Index: System.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/System/System.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** System.h 1 Nov 2006 10:29:40 -0000 1.10 --- System.h 7 Dec 2006 21:05:06 -0000 1.11 *************** *** 113,117 **** virtual std::string Split(const std::string& str, const std::string& delim, ! int wantedIndex); /** Remove trailing line-feed (and carriage return) from specified string. --- 113,117 ---- virtual std::string Split(const std::string& str, const std::string& delim, ! unsigned int wantedIndex); /** Remove trailing line-feed (and carriage return) from specified string. |