fix compilation warning

This commit is contained in:
Sergei Golubchik 2011-04-03 16:30:29 +02:00
parent 8de6199b16
commit b1cd096007

View file

@ -42,7 +42,7 @@ void get_date(register char * to, int flag, time_t date)
struct tm tm_tmp;
#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 (flag & GETDATE_GMT)
gmtime_r(&skr,&tm_tmp);