From 119f31091836e655ae03430e270d1c9b2c801e6f Mon Sep 17 00:00:00 2001 From: gnawali Date: Thu, 4 Feb 2010 07:36:52 +0000 Subject: [PATCH] fix one more uint8 and uint16 mismatch --- tos/lib/net/4bitle/LinkEstimatorP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2