]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/4bitle/LinkEstimatorP.nc
fix one more uint8 and uint16 mismatch
[tinyos-2.x.git] / tos / lib / net / 4bitle / LinkEstimatorP.nc
index d1cb1af8c22fd2b6207d1400f4fe4864b53aae71..a90d0b1ebf9c9599d2916b089877dbaccd9ee6fe 100644 (file)
@@ -304,7 +304,7 @@ implementation {
       if (q > 250) {
        q = VERY_LARGE_ETX_VALUE;
       }
-      return (uint8_t)q;
+      return q;
     } else {
       return VERY_LARGE_ETX_VALUE;
     }