# HG changeset patch # User Matti Hamalainen # Date 1349162934 -10800 # Node ID 7108681151a4de5b73d908f46ec5c5514bebc01f # Parent c257d73cf79069ec230e48b70e77182b4b197783 Use a cast. diff -r c257d73cf790 -r 7108681151a4 xm2jss.c --- 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); }