From 0e65518f5d98401c862593e78dc27f4800eb93d1 Mon Sep 17 00:00:00 2001 From: scipio Date: Wed, 9 Jul 2008 16:23:27 +0000 Subject: [PATCH] Fix pointer cast to uint8_t*. --- tos/chips/cc2420/transmit/CC2420TransmitP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2