diff -Nur citadel/imap_misc.c citadel-patched/imap_misc.c --- citadel/imap_misc.c 2004-05-21 01:58:21.000000000 +0000 +++ citadel-patched/imap_misc.c 2004-06-29 01:06:27.278890123 +0000 @@ -250,7 +250,7 @@ IMAP->transmitted_length = literal_length; cprintf("+ Transmit message now.\r\n"); - lprintf(CTDL_DEBUG, "imap_append() expecting %d bytes\n", + lprintf(CTDL_DEBUG, "imap_append() expecting %lu bytes\n", literal_length); bytes_transferred = 0; @@ -266,7 +266,7 @@ else { bytes_transferred += blksize; /* keep going */ } - lprintf(CTDL_DEBUG, "Received %d of %d bytes (%d%%)\n", + lprintf(CTDL_DEBUG, "Received %lu of %lu bytes (%lu%%)\n", bytes_transferred, literal_length, ((bytes_transferred * 100) / literal_length) diff -Nur citadel/stress.c citadel-patched/stress.c --- citadel/stress.c 2004-05-21 01:58:23.000000000 +0000 +++ citadel-patched/stress.c 2004-06-29 01:04:33.121429448 +0000 @@ -122,12 +122,12 @@ int c; /* Message count */ time_t start, end; /* Timestamps */ struct ctdlipcmessage msg; /* The message we will post */ - int argc_; + long argc_; char** argv_; long tmin = LONG_MAX, trun = 0, tmax = LONG_MIN; args = (void*)data; - argc_ = (int)args[0]; + argc_ = (long)args[0]; argv_ = (char**)args[1]; /* Setup the message we will be posting */