summaryrefslogtreecommitdiffstats
path: root/newlib/libc/time
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/time')
-rw-r--r--newlib/libc/time/tzset_r.c3
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)