List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:October 27 2010 8:25am
Subject:bzr commit into mysql-trunk-bugfixing branch (tor.didriksen:3294) Bug#45288
View as plain text  
#At file:///export/home/didrik/repo/trunk-bugfixing/ based on revid:gkodinov@stripped

 3294 Tor Didriksen	2010-10-27
      Bug#45288: pb2 returns a lot of compilation warnings
      
      DBG build broken on freebsd:
      storage/innobase/os/os0sync.c:171: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t'
     @ storage/innobase/os/os0sync.c
        Cast arguments to match format string.

    modified:
      storage/innobase/os/os0sync.c
=== modified file 'storage/innobase/os/os0sync.c'
--- a/storage/innobase/os/os0sync.c	2010-10-19 09:53:21 +0000
+++ b/storage/innobase/os/os0sync.c	2010-10-27 08:25:25 +0000
@@ -168,7 +168,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;
 	}
 


Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20101027082525-3yiw38jrtghl8yol.bundle
Thread
bzr commit into mysql-trunk-bugfixing branch (tor.didriksen:3294) Bug#45288Tor Didriksen27 Oct