From: gnawali Date: Thu, 4 Feb 2010 07:36:52 +0000 (+0000) Subject: fix one more uint8 and uint16 mismatch X-Git-Tag: rc_6_tinyos_2_1_1~25 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=119f31091836e655ae03430e270d1c9b2c801e6f fix one more uint8 and uint16 mismatch --- diff --git a/tos/lib/net/4bitle/LinkEstimatorP.nc b/tos/lib/net/4bitle/LinkEstimatorP.nc index d1cb1af8..a90d0b1e 100644 --- a/tos/lib/net/4bitle/LinkEstimatorP.nc +++ b/tos/lib/net/4bitle/LinkEstimatorP.nc @@ -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; }