# HG changeset patch # User samer # Date 1328441395 0 # Node ID f2a0f5eaaaa51150dfeca6c5de690d4a546a5336 # Parent e395e387bd3c37cf14c5833edf132ab28e8dfdb5 Fixed a compiler warning. diff -r e395e387bd3c -r f2a0f5eaaaa5 cpp/plml.cpp --- a/cpp/plml.cpp Thu Feb 02 12:57:15 2012 +0000 +++ b/cpp/plml.cpp Sun Feb 05 11:29:55 2012 +0000 @@ -530,7 +530,7 @@ return raise_exception("mlWSAlloc: Bad output buffer after uniquevar."); } - int len=strlen(engine->outbuf+11)-2; + unsigned int len=strlen(engine->outbuf+11)-2; if (len+1>sizeof(x.name)) { return raise_exception("mlWSAlloc: uniquevar name is too long."); }