Commit 359ee110 authored by Sergei Golubchik's avatar Sergei Golubchik

fix compilation warning

parent 01aab9ed
...@@ -42,7 +42,7 @@ void get_date(register char * to, int flag, time_t date) ...@@ -42,7 +42,7 @@ void get_date(register char * to, int flag, time_t date)
struct tm tm_tmp; struct tm tm_tmp;
#endif #endif
skr=date ? (time_t) date : my_time(0); skr=date ? date : (time_t) my_time(0);
#if defined(HAVE_LOCALTIME_R) && defined(_REENTRANT) #if defined(HAVE_LOCALTIME_R) && defined(_REENTRANT)
if (flag & GETDATE_GMT) if (flag & GETDATE_GMT)
gmtime_r(&skr,&tm_tmp); gmtime_r(&skr,&tm_tmp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment