changeset 16:f2a0f5eaaaa5

Fixed a compiler warning.
author samer
date Sun, 05 Feb 2012 11:29:55 +0000
parents e395e387bd3c
children 084a1e7377a7
files cpp/plml.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.");
 	 }