mcabber/libjabber/xmlparse.c
changeset 883 0aa9015f06df
parent 235 f7f07794d2df
--- a/mcabber/libjabber/xmlparse.c	Sat May 27 18:53:56 2006 +0200
+++ b/mcabber/libjabber/xmlparse.c	Sat May 27 19:17:01 2006 +0200
@@ -939,7 +939,7 @@
         XML_T("error in processing external entity reference"),
         XML_T("document is not standalone")
     };
-    if (code > 0 && code < sizeof(message)/sizeof(message[0]))
+    if (code > 0 && code < (int)(sizeof(message)/sizeof(message[0])))
         return message[code];
     return 0;
 }