changeset 574:fa4ea28fd997 stable-1.0

Fixed compiler warning. (transplanted from 3b8748455aff0624acdc50ab1f1857daa27854b3)
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 24 Jan 2010 13:29:27 -0500
parents d02c00ce16d9
children e587ba9d1c87
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:03:43 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
             {