make compile with gcc 4.* without warnings. (hopefully with all versions)
[lcr.git] / genwave.c
index cb62262..c614a2e 100644 (file)
--- a/genwave.c
+++ b/genwave.c
@@ -106,7 +106,7 @@ void write_law(FILE *fp, char *name, char law)
                /* get size */
                fseek(lfp, 0, SEEK_END);
                size = ftell(lfp);
-               printf("samples: %ld\n", size);
+               printf("samples: %d\n", size);
                size += size;
                fseek(lfp, 0, SEEK_SET);