diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-10-28 20:12:23 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-10-28 20:12:23 +0300 |
commit | 03c278e391ae788adbf84f0846ef7ac52970cceb (patch) | |
tree | bd3d10ca3bf9db4c1b5e0da26e3cdb90f9ca7281 /storage/innobase/os/os0sync.c | |
parent | 8c9a6e4e0f744d5006729bf90bfd2f21f5b5523f (diff) | |
download | mariadb-git-03c278e391ae788adbf84f0846ef7ac52970cceb.tar.gz |
Fix a compilation warning:
/export/home/pb2/build/sb_0-2459340-1288264809.63/mysql-5.5.8-ga/storage/innobase/os/os0sync.c: In function 'os_cond_wait_timed':
/export/home/pb2/build/sb_0-2459340-1288264809.63/mysql-5.5.8-ga/storage/innobase/os/os0sync.c:184: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
gmake[2]: *** [storage/innobase/CMakeFiles/innobase.dir/os/os0sync.c.o] Error 1
Diffstat (limited to 'storage/innobase/os/os0sync.c')
-rw-r--r-- | storage/innobase/os/os0sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/os/os0sync.c b/storage/innobase/os/os0sync.c index 2f481b76bda..24d36acecb2 100644 --- a/storage/innobase/os/os0sync.c +++ b/storage/innobase/os/os0sync.c @@ -181,7 +181,7 @@ os_cond_wait_timed( default: fprintf(stderr, " InnoDB: pthread_cond_timedwait() returned: " "%d: abstime={%lu,%lu}\n", - ret, abstime->tv_sec, abstime->tv_nsec); + ret, (ulong) abstime->tv_sec, (ulong) abstime->tv_nsec); ut_error; } |