X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fftsp%2FTimeSyncP.nc;h=ba96e92d1f797af0cb04e0c3180e8e2f937becef;hb=5ddfa2501c180219ecfb6ca374e4cdbfcf08c5ae;hp=3a5824ae06a8a457c9d2a7bec9f8515768607580;hpb=b4b42fcf852c3b286cf8f81750ff3e6b4a443bd4;p=tinyos-2.x.git diff --git a/tos/lib/ftsp/TimeSyncP.nc b/tos/lib/ftsp/TimeSyncP.nc index 3a5824ae..ba96e92d 100644 --- a/tos/lib/ftsp/TimeSyncP.nc +++ b/tos/lib/ftsp/TimeSyncP.nc @@ -222,7 +222,7 @@ implementation // clear table if the received entry's been inconsistent for some time timeError = msg->localTime; - call GlobalTime.local2Global(&timeError); + call GlobalTime.local2Global((uint32_t*)(&timeError)); timeError -= msg->globalTime; if( (is_synced() == SUCCESS) && (timeError > ENTRY_THROWOUT_LIMIT || timeError < -ENTRY_THROWOUT_LIMIT))