# HG changeset patch # User Florian Pose # Date 1152175088 0 # Node ID 934ec4051dd46c13c6a4f1319f66ce1de64c6642 # Parent feea8d850c65c0d016c504b4ef414039fa5d0f35 Removed warnings acc. to patch by M. Schwerin. diff -r feea8d850c65 -r 934ec4051dd4 master/mailbox.c --- 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); } diff -r feea8d850c65 -r 934ec4051dd4 master/master.c --- 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); } }