changeset 86:7108681151a4

Use a cast.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 10:28:54 +0300
parents c257d73cf790
children baf72a99d5ee
files xm2jss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xm2jss.c	Tue Oct 02 10:23:42 2012 +0300
+++ b/xm2jss.c	Tue Oct 02 10:28:54 2012 +0300
@@ -619,7 +619,7 @@
             }
             
             totalSize += inst->size;
-            if (res != inst->size)
+            if (res != (size_t) inst->size)
                 JSSERROR(DMERR_FWRITE, DMERR_FWRITE,
                  "Could not write JSSMOD sample #%i to file!\n", instr);
         }