Commit 2aee9fb9 authored by Vasil Dimov's avatar Vasil Dimov

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 
parent eb3f0d2e
...@@ -181,7 +181,7 @@ os_cond_wait_timed( ...@@ -181,7 +181,7 @@ os_cond_wait_timed(
default: default:
fprintf(stderr, " InnoDB: pthread_cond_timedwait() returned: " fprintf(stderr, " InnoDB: pthread_cond_timedwait() returned: "
"%d: abstime={%lu,%lu}\n", "%d: abstime={%lu,%lu}\n",
ret, abstime->tv_sec, abstime->tv_nsec); ret, (ulong) abstime->tv_sec, (ulong) abstime->tv_nsec);
ut_error; ut_error;
} }
......
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