diff --git a/examples/IRrecvDumpV2/IRrecvDumpV2.ino b/examples/IRrecvDumpV2/IRrecvDumpV2.ino index 6dfa810..bbfb674 100644 --- a/examples/IRrecvDumpV2/IRrecvDumpV2.ino +++ b/examples/IRrecvDumpV2/IRrecvDumpV2.ino @@ -95,7 +95,7 @@ void dumpRaw (decode_results *results) Serial.print(" -"); Serial.println(results->rawbuf[0] * USECPERTICK, DEC); for (int i = 1; i < results->rawlen; i++) { - int x = results->rawbuf[i] * USECPERTICK; + unsigned int x = results->rawbuf[i] * USECPERTICK; if (!(i & 1)) { // even Serial.print("-"); if (x < 1000) Serial.print(" ") ;