changeset 571:3b8748455aff

Fixed compiler warning.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 24 Jan 2010 13:29:27 -0500
parents d48126606f4d
children 7815c90ba552
files playsound/playsound.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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
             {