* Fixes and updates to build WebCit on Linux for IBM S/390
[citadel.git] / webcit / vcard_edit.c
index 8dcd227cd4e4b78fb6a7effff1f638b32a50e23c..151edcb864bb43eba14d0b2df9d4618f3f532c35 100644 (file)
@@ -111,7 +111,7 @@ void do_edit_vcard(long msgnum, char *partnum, char *return_to) {
        while (bytes < total_len) {
                thisblock = 4000;
                if ((total_len - bytes) < thisblock) thisblock = total_len - bytes;
-               sprintf(buf, "READ %d|%d", bytes, thisblock);
+               sprintf(buf, "READ %d|%d", (int)bytes, (int)thisblock);
                serv_puts(buf);
                serv_gets(buf);
                if (buf[0] == '6') {