]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
because we changed the type for length in Intercept.forward
authorgnawali <gnawali>
Sat, 9 Feb 2008 05:45:10 +0000 (05:45 +0000)
committergnawali <gnawali>
Sat, 9 Feb 2008 05:45:10 +0000 (05:45 +0000)
tos/lib/net/ctp/CtpForwardingEngineP.nc
tos/lib/net/lqi/LqiForwardingEngineP.nc

index eac244e8822948bdb8653586b9a376accdfc6e5b..38dfc10672dcb9ac948015d8c9b4113a9bf14796 100644 (file)
@@ -921,7 +921,7 @@ implementation {
 
   default event bool
   Intercept.forward[collection_id_t collectid](message_t* msg, void* payload, 
-                                               uint16_t len) {
+                                               uint8_t len) {
     return TRUE;
   }
 
index 573a5eb5789747ec2ad1a5192c739fcb29d1d9d4..f1382902e82e613585802ab0d00fac251758def0 100644 (file)
@@ -502,7 +502,7 @@ implementation {
  default event message_t* Receive.receive[collection_id_t id](message_t* pMsg, void* payload, uint8_t len) {
    return pMsg;
  }
- default event bool Intercept.forward[collection_id_t id](message_t* pMsg, void* payload, uint16_t len) {
+ default event bool Intercept.forward[collection_id_t id](message_t* pMsg, void* payload, uint8_t len) {
    return 1;
  }