From: scipio Date: Wed, 9 Jul 2008 16:23:27 +0000 (+0000) Subject: Fix pointer cast to uint8_t*. X-Git-Tag: release_tinyos_2_1_0_0~96 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=0e65518f5d98401c862593e78dc27f4800eb93d1 Fix pointer cast to uint8_t*. --- diff --git a/tos/chips/cc2420/transmit/CC2420TransmitP.nc b/tos/chips/cc2420/transmit/CC2420TransmitP.nc index a571fc70..49aa130e 100644 --- a/tos/chips/cc2420/transmit/CC2420TransmitP.nc +++ b/tos/chips/cc2420/transmit/CC2420TransmitP.nc @@ -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(); }