X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/83ff05c356f6497be2475640d1cb2e3eb369831f..e0ee1ed8a1244740d4cad80273e0f4603e9cf744:/src/saxdb.c diff --git a/src/saxdb.c b/src/saxdb.c index 7e9b252..6ebce65 100644 --- a/src/saxdb.c +++ b/src/saxdb.c @@ -3,7 +3,7 @@ * * This file is part of x3. * - * srvx is free software; you can redistribute it and/or modify + * x3 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. @@ -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);