diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-05-08 21:01:02 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-05-08 21:01:02 -0600 |
commit | b5eb45a153202d72aeb48de1149e7c74aef979fd (patch) | |
tree | 1fbc156a717e7963cd0c02fd7352bc801949c550 /pith/string.c | |
parent | 2f953255a8c494e3033015eb064c6ecace9ffeda (diff) | |
download | alpine-b5eb45a153202d72aeb48de1149e7c74aef979fd.tar.xz |
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'pith/string.c')
-rw-r--r-- | pith/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/string.c b/pith/string.c index 8b793471..d2d0d758 100644 --- a/pith/string.c +++ b/pith/string.c @@ -1309,7 +1309,7 @@ convert_date_to_local(char *date) { struct tm *tm; time_t ltime; - static char datebuf[26]; + static char datebuf[30]; ltime = date_to_local_time_t(date); if(ltime == (time_t) -1) @@ -1425,7 +1425,7 @@ byte_string(long int bytes) char *a, aa[5]; char *abbrevs = "GMK"; long i, ones, tenths; - static char string[10]; + static char string[50]; ones = 0L; tenths = 0L; |