diff playsound/playsound.c @ 571:3b8748455aff

Fixed compiler warning.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 24 Jan 2010 13:29:27 -0500
parents 11bb8cb8ebc8
children 7815c90ba552
line wrap: on
line diff
--- a/playsound/playsound.c	Tue Jan 05 15:05:57 2010 -0500
+++ b/playsound/playsound.c	Sun Jan 24 13:29:27 2010 -0500
@@ -1014,7 +1014,8 @@
                         "Couldn't fully decode \"%s\"!\n"
                         "  reason: [%s].\n"
                         "  (playing first %lu bytes of decoded data...)\n",
-                        filename, Sound_GetError(), global_state.decoded_bytes);
+                        filename, Sound_GetError(),
+                        (unsigned long) global_state.decoded_bytes);
             } /* if */
             else
             {