diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-04-03 16:30:29 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-04-03 16:30:29 +0200 |
commit | b1cd09600787e26665be7125c140a67474b654f1 (patch) | |
tree | b526fb09b7b985d19b4f9b627216039e051d39d5 /mysys/mf_getdate.c | |
parent | 8de6199b164fe6616db056465b75b318bd5f8a4a (diff) | |
download | mariadb-git-b1cd09600787e26665be7125c140a67474b654f1.tar.gz |
fix compilation warning
Diffstat (limited to 'mysys/mf_getdate.c')
-rw-r--r-- | mysys/mf_getdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_getdate.c b/mysys/mf_getdate.c index 9475bebd107..70278e64003 100644 --- a/mysys/mf_getdate.c +++ b/mysys/mf_getdate.c @@ -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); |