diff options
Diffstat (limited to 'runtime/datetime.c')
-rw-r--r-- | runtime/datetime.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/datetime.c b/runtime/datetime.c index 2a0df91a..afd709c3 100644 --- a/runtime/datetime.c +++ b/runtime/datetime.c @@ -154,11 +154,10 @@ static void getCurrTime(struct syslogTime *t, time_t *ttSeconds) static int srSLMGParseInt32(uchar** ppsz) { - int i; + register int i; i = 0; - while(isdigit((int) **ppsz)) - { + while(isdigit((int) **ppsz)) { i = i * 10 + **ppsz - '0'; ++(*ppsz); } |