diff include/Midi.h @ 216:869f5e703844

Fixed compiler warnings
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 13 Feb 2016 01:51:01 +0000
parents b128e3ea84ff
children 97faaf985164
line wrap: on
line diff
--- a/include/Midi.h	Sat Feb 13 01:45:21 2016 +0000
+++ b/include/Midi.h	Sat Feb 13 01:51:01 2016 +0000
@@ -63,7 +63,7 @@
 	void prettyPrint(){
 		rt_printf("MessageType: %x,  ", this->getType());
 		rt_printf("channel: %u, ", this->getChannel());
-		for(int n = 0; n < this->getNumDataBytes(); n++){
+		for(unsigned int n = 0; n < this->getNumDataBytes(); n++){
 			rt_printf("data%d: %d, ", n + 1, this->getDataByte(n));
 		}
 		rt_printf("\n");