changeset 2504:9fd51b549097

added a cast to suppress warning
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 02 Apr 2008 12:35:24 +0900
parents ca1a9bd5f311
children 28f3f1fc4001
files src/madplug/replaygain.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/replaygain.c	Wed Apr 02 12:28:27 2008 +0900
+++ b/src/madplug/replaygain.c	Wed Apr 02 12:35:24 2008 +0900
@@ -138,7 +138,7 @@
         
         fprintf(stderr, "wtf: vsize=%x, flags=%x, s=%s\n", vsize, flags, p);
         if (vsize > end - tmp + 1) {
-            fprintf(stderr, "vsize > end - tmp + 1: %d > %d\n", vsize, end - tmp + 1);
+            fprintf(stderr, "vsize > end - tmp + 1: %d > %d\n", vsize, (int)(end - tmp + 1));
         }
         
         if (isize > 0 && vsize > 0) {