# HG changeset patch # User Nathan Walp # Date 1053391535 0 # Node ID bb1e160467b65b24335e66550939896e89cfd29f # Parent 9442e8d0b21d8f8424db4a2fb4dccf6da064460e [gaim-migrate @ 5838] Thanks to J P (j_pong) for tracking this down, this fixes base16, and might fix the corrupt buddy lists for the win32 folk also there's a cleanup for a compile warning committer: Tailor Script diff -r 9442e8d0b21d -r bb1e160467b6 src/plugin.c --- a/src/plugin.c Mon May 19 17:27:03 2003 +0000 +++ b/src/plugin.c Tue May 20 00:45:35 2003 +0000 @@ -183,7 +183,7 @@ plugin = gaim_plugin_new(is_so_file(filename, PLUGIN_EXT), filename); if (plugin->native_plugin) { - char *error; + const char *error; plugin->handle = g_module_open(filename, 0); if (plugin->handle == NULL) { diff -r 9442e8d0b21d -r bb1e160467b6 src/util.c --- a/src/util.c Mon May 19 17:27:03 2003 +0000 +++ b/src/util.c Tue May 20 00:45:35 2003 +0000 @@ -470,12 +470,12 @@ char *tobase16(const char *data, int length) { int i; - char *ascii = NULL; + unsigned char *ascii = NULL; if (!data || !length) return NULL; - ascii = (char *)malloc(length*2 + 1); + ascii = malloc(length*2 + 1); for (i=0; i