]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
fix one more uint8 and uint16 mismatch
authorgnawali <gnawali>
Thu, 4 Feb 2010 07:36:52 +0000 (07:36 +0000)
committergnawali <gnawali>
Thu, 4 Feb 2010 07:36:52 +0000 (07:36 +0000)
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;
     }