]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fix pointer cast to uint8_t*.
authorscipio <scipio>
Wed, 9 Jul 2008 16:23:27 +0000 (16:23 +0000)
committerscipio <scipio>
Wed, 9 Jul 2008 16:23:27 +0000 (16:23 +0000)
tos/chips/cc2420/transmit/CC2420TransmitP.nc

index a571fc70d6d955d1812958bfb7ebe862f21dca6b..49aa130ea3e31fc2a00afec3bbfdda20eff18a6b 100644 (file)
@@ -272,7 +272,7 @@ implementation {
            // set timesync event time as the offset between the event time and the SFD interrupt time (TEP  133)
            *timesync  -= time32;
            call CSN.clr();
-           call TXFIFO_RAM.write( call PacketTimeSyncOffset.get(m_msg), (void*)timesync, sizeof(timesync_radio_t) );
+           call TXFIFO_RAM.write( call PacketTimeSyncOffset.get(m_msg), (uint8_t*)timesync, sizeof(timesync_radio_t) );
            call CSN.set();
         }