]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/saxdb.c
This should fix the nickserv module complaining about not enough parameters when...
[irc/evilnet/x3.git] / src / saxdb.c
index 7e9b2520f81c4d16aafd87bd3a11c749c6c6a9ee..59b0b6d76ecd59648c280b959b704d97e310e93b 100644 (file)
@@ -296,7 +296,7 @@ saxdb_write_string(struct saxdb_context *dest, const char *name, const char *val
 
 void
 saxdb_write_int(struct saxdb_context *dest, const char *name, unsigned long value) {
-    unsigned char buf[16];
+    char buf[16];
     /* we could optimize this to take advantage of the fact that buf will never need escapes */
     snprintf(buf, sizeof(buf), "%lu", value);
     saxdb_write_string(dest, name, buf);