Removed warnings acc. to patch by M. Schwerin.
--- 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);
}
--- a/master/master.c Thu Jul 06 08:31:55 2006 +0000
+++ b/master/master.c Thu Jul 06 08:38:08 2006 +0000
@@ -394,7 +394,7 @@
if (unlikely(master->debug_level > 0)) {
t_end = get_cycles();
EC_DBG("ec_master_send_datagrams sent %i frames in %ius.\n",
- frame_count, (u32) (t_end - t_start) * 1000 / cpu_khz);
+ frame_count, (unsigned int) (t_end - t_start) * 1000 / cpu_khz);
}
}