diff -r dd7183cf0a71 -r 8e6d91e4dd8f pidgin/gtkutils.c --- a/pidgin/gtkutils.c Wed Oct 30 22:19:59 2019 -0400 +++ b/pidgin/gtkutils.c Wed Oct 30 23:25:39 2019 -0400 @@ -2425,10 +2425,10 @@ gtk_style_context_get_background_color(context, gtk_style_context_get_state(context), &bg); - snprintf(dim_grey_string, sizeof(dim_grey_string), "#%02x%02x%02x", - (unsigned int)((fg.red + bg.red) * 0.5 * 255), - (unsigned int)((fg.green + bg.green) * 0.5 * 255), - (unsigned int)((fg.blue + bg.blue) * 0.5 * 255)); + g_snprintf(dim_grey_string, sizeof(dim_grey_string), "#%02x%02x%02x", + (unsigned int)((fg.red + bg.red) * 0.5 * 255), + (unsigned int)((fg.green + bg.green) * 0.5 * 255), + (unsigned int)((fg.blue + bg.blue) * 0.5 * 255)); return dim_grey_string; }