master/mailbox.c
changeset 295 934ec4051dd4
parent 293 14aeb79aa992
child 325 7833cf70c4f2
--- a/master/mailbox.c	Thu Jul 06 08:31:55 2006 +0000
+++ b/master/mailbox.c	Thu Jul 06 08:38:08 2006 +0000
@@ -238,8 +238,8 @@
     }
 
     if (unlikely(slave->master->debug_level) > 1)
-        EC_DBG("Mailbox receive took %ius.\n", ((u32) (end - start) * 1000
-                                                / cpu_khz));
+        EC_DBG("Mailbox receive took %ius.\n",
+               ((unsigned int) (end - start) * 1000 / cpu_khz));
 
     return ec_slave_mbox_fetch(slave, datagram, type, size);
 }