From 04d0ee253833c9a0f9039f3bbd2b90799e9e8d48 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 1 Feb 2009 20:28:51 -0500 Subject: snapshot of project "lynx", label v2-8-7dev_12g --- WWW/Library/Implementation/HTChunk.c | 4 ++-- WWW/Library/Implementation/HTFTP.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'WWW') 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; -- cgit 1.4.1-2-gfad0