Fixed warning with LogMessage
authorEdouard Tisserant
Fri, 29 Mar 2013 14:23:18 +0900
changeset 1012 deb0fcab0c64
parent 1011 388777d307de
child 1013 d54ca1ec9090
child 1015 50bb7cc12a84
Fixed warning with LogMessage
targets/plc_main_tail.c
--- a/targets/plc_main_tail.c	Thu Mar 28 00:08:55 2013 +0100
+++ b/targets/plc_main_tail.c	Fri Mar 29 14:23:18 2013 +0900
@@ -85,7 +85,7 @@
 
         return 1; /* Success */
     }else{
-    	uint8_t mstr[] = "Logging error : message too big";
+    	char mstr[] = "Logging error : message too big";
         LogMessage(LOG_CRITICAL, mstr, sizeof(mstr));
     }
     return 0;