diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2009-02-01 20:28:51 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2009-02-01 20:28:51 -0500 |
commit | 04d0ee253833c9a0f9039f3bbd2b90799e9e8d48 (patch) | |
tree | 2e89c19ed6e09bd4f55deefd9ad02a7df851ff21 /WWW | |
parent | 32b6b1ad98ff34d90910fa87e2987b18de5e8990 (diff) | |
download | lynx-snapshots-04d0ee253833c9a0f9039f3bbd2b90799e9e8d48.tar.gz |
snapshot of project "lynx", label v2-8-7dev_12g
Diffstat (limited to 'WWW')
-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; |