# HG changeset patch # User Richard Laager # Date 1133718425 0 # Node ID 1baf4cbcf84d51d70b034f06c8e79e46d4418ae0 # Parent d5088e83fe0c6784d82e1d8af6073d8da95a418f [gaim-migrate @ 14621] Warning fixes. committer: Tailor Script diff -r d5088e83fe0c -r 1baf4cbcf84d src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sun Dec 04 17:44:01 2005 +0000 +++ b/src/protocols/oscar/oscar.c Sun Dec 04 17:47:05 2005 +0000 @@ -6892,7 +6892,7 @@ GaimGroup *g; GaimBuddy *b; struct aim_ssi_item *curitem; - int tmp; + fu32_t tmp; va_list ap; fu16_t fmtver, numitems; struct aim_ssi_item *items; @@ -8393,7 +8393,7 @@ frame = gaim_plugin_pref_frame_new(); -#if USE_PRPL_PREFERENCES +#ifdef USE_PRPL_PREFERENCES ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/prpl/oscar/recent_buddies", _("Use recent buddies group")); gaim_plugin_pref_frame_add(frame, ppref); diff -r d5088e83fe0c -r 1baf4cbcf84d src/protocols/sametime/meanwhile/mw_debug.c --- a/src/protocols/sametime/meanwhile/mw_debug.c Sun Dec 04 17:44:01 2005 +0000 +++ b/src/protocols/sametime/meanwhile/mw_debug.c Sun Dec 04 17:47:05 2005 +0000 @@ -92,7 +92,7 @@ } pretty_print(str, buf, len); - g_debug(str->str); + g_debug("%s", str->str); g_string_free(str, TRUE); } @@ -132,7 +132,7 @@ void mw_mailme_datav(const guchar *buf, gsize len, const char *info, va_list args) { -#if MW_MAILME +#if defined(MW_MAILME) && MW_MAILME GString *str; char *txt; diff -r d5088e83fe0c -r 1baf4cbcf84d src/protocols/silc/chat.c --- a/src/protocols/silc/chat.c Sun Dec 04 17:44:01 2005 +0000 +++ b/src/protocols/silc/chat.c Sun Dec 04 17:47:05 2005 +0000 @@ -150,7 +150,7 @@ if (channel->mode) { g_string_append_printf(s, _("
Channel Modes: ")); silcgaim_get_chmode_string(channel->mode, tmp, sizeof(tmp)); - g_string_append_printf(s, tmp); + g_string_append(s, tmp); } if (channel->founder_key) {