diff options
Diffstat (limited to 'WWW/Library')
-rw-r--r-- | WWW/Library/Implementation/HTChunk.c | 4 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTFTP.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTChunk.c b/WWW/Library/Implementation/HTChunk.c index 8c8ed8cc..1ee2c2cc 100644 --- a/WWW/Library/Implementation/HTChunk.c +++ b/WWW/Library/Implementation/HTChunk.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTChunk.c,v 1.20 2009/01/03 01:21:34 tom Exp $ + * $LynxId: HTChunk.c,v 1.21 2009/02/01 12:49:24 tom Exp $ * * Chunk handling: Flexible arrays * =============================== @@ -67,7 +67,7 @@ HTChunk *HTChunkCreate2(int grow, size_t needed) /* Round up */ ch->allocated = (int) (needed - 1 - ((needed - 1) % ch->growby) + (unsigned) ch->growby); - CTRACE((tfp, "HTChunkCreate2: requested %d, allocate %d\n", + CTRACE((tfp, "HTChunkCreate2: requested %d, allocate %u\n", (int) needed, (unsigned) ch->allocated)); ch->data = typecallocn(char, (unsigned) ch->allocated); diff --git a/WWW/Library/Implementation/HTFTP.c b/WWW/Library/Implementation/HTFTP.c index e1d53c59..6f71fae9 100644 --- a/WWW/Library/Implementation/HTFTP.c +++ b/WWW/Library/Implementation/HTFTP.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTFTP.c,v 1.88 2009/01/03 01:57:47 tom Exp $ + * $LynxId: HTFTP.c,v 1.89 2009/02/01 12:49:00 tom Exp $ * * File Transfer Protocol (FTP) Client * for a WorldWideWeb browser @@ -2759,7 +2759,7 @@ static char *FormatNum(char **bufp, sprintf(fmt, "%%%.*sld", (int) sizeof(fmt) - 3, start); HTSprintf(bufp, fmt, value); } else { - sprintf(fmt, "%ld", value); + sprintf(fmt, "%lu", value); StrAllocCat(*bufp, fmt); } return *bufp; |