]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
fixed bug reported by Mehmet Akif Antepli - arg type mismatch
authorgnawali <gnawali>
Mon, 21 Sep 2009 02:19:42 +0000 (02:19 +0000)
committergnawali <gnawali>
Mon, 21 Sep 2009 02:19:42 +0000 (02:19 +0000)
tos/lib/net/ctp/CtpRoutingEngineP.nc
tos/lib/net/ctp/CtpRoutingPacket.nc

index 1f8a484c2e186b658e3655a82e22aa0cf6616984..298cd6407c6329bc5ff6486cab7c1d7b7a99e600 100644 (file)
@@ -808,7 +808,7 @@ implementation {
     command uint16_t      CtpRoutingPacket.getEtx(message_t* msg) {
       return getHeader(msg)->etx;
     }
-    command void          CtpRoutingPacket.setEtx(message_t* msg, uint8_t etx) {
+    command void          CtpRoutingPacket.setEtx(message_t* msg, uint16_t etx) {
       getHeader(msg)->etx = etx;
     }
 
index fb5ec31dd205921139e698c6a9efafd5e1cac275..00153e61f8442886af5c798032036cae23835705 100644 (file)
@@ -54,5 +54,5 @@ interface CtpRoutingPacket {
   command void          setParent(message_t* ONE msg, am_addr_t addr);
 
   command uint16_t      getEtx(message_t* ONE msg);
-  command void          setEtx(message_t* ONE msg, uint8_t etx);
+  command void          setEtx(message_t* ONE msg, uint16_t etx);
 }