Commit c136c10f authored by Paul Eggert's avatar Paul Eggert
Browse files

* sound.c (sound_warning): Don't crash if arg contains a printf format.

parent 5e2d4a30
......@@ -2,6 +2,8 @@
Fix more problems found by GCC 4.6.0's static checks.
* sound.c (sound_warning): Don't crash if arg contains a printf format.
* image.c (tiff_error_handler, tiff_warning_handler): Mark as
printf-like functions.
(tiff_load): Add casts to remove these marks before passing them
......@@ -344,7 +344,7 @@ sound_perror (const char *msg)
static void
sound_warning (const char *msg)
{
message (msg);
message ("%s", msg);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment