comparison mcabber/libjabber/xmlparse.c @ 883:0aa9015f06df

Remove some more libjabber warnings
author Mikael Berthe <mikael@lilotux.net>
date Sat, 27 May 2006 19:17:01 +0200
parents f7f07794d2df
children
comparison
equal deleted inserted replaced
882:c3c2f7a0c5d5 883:0aa9015f06df
937 XML_T("encoding specified in XML declaration is incorrect"), 937 XML_T("encoding specified in XML declaration is incorrect"),
938 XML_T("unclosed CDATA section"), 938 XML_T("unclosed CDATA section"),
939 XML_T("error in processing external entity reference"), 939 XML_T("error in processing external entity reference"),
940 XML_T("document is not standalone") 940 XML_T("document is not standalone")
941 }; 941 };
942 if (code > 0 && code < sizeof(message)/sizeof(message[0])) 942 if (code > 0 && code < (int)(sizeof(message)/sizeof(message[0])))
943 return message[code]; 943 return message[code];
944 return 0; 944 return 0;
945 } 945 }
946 946
947 static 947 static