# HG changeset patch # User Mark Doliner # Date 1085936721 0 # Node ID cefe59828f90072580e5dc728ac163311ba4b42f # Parent 668ffb8fec000dde7ef028ade201284142a7f891 [gaim-migrate @ 9903] gcc 2.95 or something doesn't have %z, or something committer: Tailor Script diff -r 668ffb8fec00 -r cefe59828f90 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sun May 30 16:54:40 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sun May 30 17:05:21 2004 +0000 @@ -1205,7 +1205,7 @@ /* ... if it refers to a valid gaim image ... */ if (id && (image = gaim_imgstore_get(atoi(id)))) { /* ... append the message from start to the tag ... */ - size_t size = gaim_imgstore_get_size(image); + unsigned long size = gaim_imgstore_get_size(image); const char *filename = gaim_imgstore_get_filename(image); gpointer imgdata = gaim_imgstore_get_data(image); @@ -1214,15 +1214,15 @@ /* ... insert a new img tag with the oscar id ... */ if (filename) g_string_append_printf(msg, - "", + "", filename, oscar_id, size); else g_string_append_printf(msg, - "", + "", oscar_id, size); /* ... and append the data to the binary section ... */ - g_string_append_printf(data, "", + g_string_append_printf(data, "", oscar_id, size); data = g_string_append_len(data, imgdata, size); data = g_string_append(data, "");