comparison mcabber/mcabber/commands.c @ 1774:dc4bd31c2254

Fix two warnings
author Mikael Berthe <mikael@lilotux.net>
date Sat, 13 Mar 2010 22:31:16 +0100
parents c450d1e66c2e
children e4378fbab5d7
comparison
equal deleted inserted replaced
1773:553e7aa88c9f 1774:dc4bd31c2254
2119 break; 2119 break;
2120 } 2120 }
2121 } 2121 }
2122 } 2122 }
2123 // Print out list of options 2123 // Print out list of options
2124 format = g_strdup_printf("%%-%us = [%%s]", max); 2124 format = g_strdup_printf("%%-%us = [%%s]", (unsigned)max);
2125 for (lel = list; lel; lel = lel->next) { 2125 for (lel = list; lel; lel = lel->next) {
2126 const gchar *key = lel->data; 2126 const gchar *key = lel->data;
2127 scr_LogPrint(LPRINT_NORMAL, format, key, settings_opt_get(key)); 2127 scr_LogPrint(LPRINT_NORMAL, format, key, settings_opt_get(key));
2128 } 2128 }
2129 g_free(format); 2129 g_free(format);