]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/PoolP.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / system / PoolP.nc
index 14dbec6659d266e7c1b2111664568d69aaae786e..9011d6cfd273898c93c904d0fde6c6a4e3fffd1f 100644 (file)
@@ -105,7 +105,7 @@ implementation {
       return FAIL;
     }
     else {
-      uint8_t emptyIndex = (index + free);
+      uint16_t emptyIndex = (index + free);
       if (emptyIndex >= size) {
         emptyIndex -= size;
       }