* Numerous warning fixes and cleanups for compile on Linux for IBM S/390
[citadel.git] / citadel / file_ops.c
index a6ce2f82a931832a7a1929276246d46c56a2c0f2..a9de64ae65819f172536ede4bfde557d42c52a13 100644 (file)
@@ -697,7 +697,7 @@ void cmd_read(char *cmdbuf)
 
        fseek(CC->download_fp, start_pos, 0);
        actual_bytes = fread(buf, 1, bytes, CC->download_fp);
-       cprintf("%d %d\n", BINARY_FOLLOWS, actual_bytes);
+       cprintf("%d %d\n", BINARY_FOLLOWS, (int)actual_bytes);
        client_write(buf, actual_bytes);
 }