diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-06-03 18:42:09 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-06-03 18:42:09 +0000 |
commit | 702ceb233d9b363278387bdcbac69c86a0b83660 (patch) | |
tree | a20934403520c540f82ae1c3c3dbddfbaafa7d70 /newlib/libc/time | |
parent | 15824b7c543f4e1f4ec84cd8117377054e3b79f5 (diff) | |
download | cygnal-702ceb233d9b363278387bdcbac69c86a0b83660.tar.gz cygnal-702ceb233d9b363278387bdcbac69c86a0b83660.tar.bz2 cygnal-702ceb233d9b363278387bdcbac69c86a0b83660.zip |
2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
* libc/time/tzset_r.c: Change local variables that are
set via sscanf using the %h format specifier to be unsigned short
instead of int.
Diffstat (limited to 'newlib/libc/time')
-rw-r--r-- | newlib/libc/time/tzset_r.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/time/tzset_r.c b/newlib/libc/time/tzset_r.c index 9469028a4..ad8267d1b 100644 --- a/newlib/libc/time/tzset_r.c +++ b/newlib/libc/time/tzset_r.c @@ -28,7 +28,8 @@ _DEFUN (_tzset_r, (reent_ptr), struct _reent *reent_ptr) { char *tzenv; - int hh, mm, ss, sign, m, w, d, n; + unsigned short hh, mm, ss, m, w, d; + int sign, n; int i, ch; if ((tzenv = _getenv_r (reent_ptr, "TZ")) == NULL) |