fixed a warning
authorAndrew Tridgell <tridge@samba.org>
Fri, 4 Jan 2008 22:30:49 +0000 (09:30 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 4 Jan 2008 22:30:49 +0000 (09:30 +1100)
server/ctdb_takeover.c

index a452da6424e09e54f24ca09b1aa105e646be37a2..b63b88f4c25e9bf3fc9efd1836c663e866b56459 100644 (file)
@@ -1738,10 +1738,10 @@ int32_t ctdb_control_send_gratious_arp(struct ctdb_context *ctdb, TDB_DATA indat
                ( offsetof(struct ctdb_control_gratious_arp, iface)
                + gratious_arp->len ) ){
 
-               DEBUG(0,(__location__ " Wrong size of indata. Was %d bytes "
-                       "but should be %d bytes\n", 
-                       indata.dsize, 
-                       offsetof(struct ctdb_control_gratious_arp, iface)+gratious_arp->len));
+               DEBUG(0,(__location__ " Wrong size of indata. Was %u bytes "
+                       "but should be %u bytes\n", 
+                        (unsigned)indata.dsize, 
+                        (unsigned)(offsetof(struct ctdb_control_gratious_arp, iface)+gratious_arp->len)));
                return -1;
        }