links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 046266628021cccb251d0cfa424c02f11be52c28
Parent: 00878656c37ccbfaeb8aa306e9f844c7b6cd8dda
Author: opask
Date:   Mon, 13 Aug 2018 17:58:27 -0600

actually fix that bug

Diffstat:
Mlinks.h | 2+-
Mstring.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/links.h b/links.h @@ -292,7 +292,7 @@ void add_bytes_to_str(unsigned char **s, int *l, unsigned char *a, size_t ll); void add_to_str(unsigned char **s, int *l, unsigned char *a); void add_chr_to_str(unsigned char **s, int *l, unsigned char a); void add_unsigned_num_to_str(unsigned char **s, int *l, off_t n); -void add_unsigned_long_num_to_str(unsigned char **s, int *l, long n); +void add_unsigned_long_num_to_str(unsigned char **s, int *l, unsigned long n); void add_num_to_str(unsigned char **s, int *l, off_t n); void add_knum_to_str(unsigned char **s, int *l, off_t n); long strtolx(unsigned char *c, unsigned char **end); diff --git a/string.c b/string.c @@ -98,7 +98,7 @@ void add_chr_to_str(unsigned char **s, int *l, unsigned char a) add_bytes_to_str(s, l, &a, 1); } -void add_unsigned_long_num_to_str(unsigned char **s, int *l, long n) +void add_unsigned_long_num_to_str(unsigned char **s, int *l, unsigned long n) { unsigned char a[64]; snprint(a, 64, n);