From: <bo...@us...> - 2003-11-22 02:41:28
|
Update of /cvsroot/sharedaemon/core/src In directory sc8-pr-cvs1:/tmp/cvs-serv6761 Modified Files: ParseClass.cpp Log Message: Fixed a warning (wrong type of argument to printf, size_t where int was expected) Index: ParseClass.cpp =================================================================== RCS file: /cvsroot/sharedaemon/core/src/ParseClass.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- ParseClass.cpp 20 Nov 2003 16:27:25 -0000 1.8 +++ ParseClass.cpp 22 Nov 2003 02:41:25 -0000 1.9 @@ -135,7 +135,7 @@ } *index=strtoul(expr,&var,0); - if (debug_now) printf("*index=%i\n",*index); + if (debug_now) printf("*index=%u\n",(unsigned int)*index); expr=var; if (*(expr-1)=='[') { fprintf(stderr, |