diff -r 3f966bbb3fba -r 15c05ba95df4 targets/plc_main_tail.c --- a/targets/plc_main_tail.c Tue Mar 26 09:31:20 2013 +0900 +++ b/targets/plc_main_tail.c Tue Mar 26 12:44:44 2013 +0900 @@ -55,7 +55,7 @@ static uint64_t LogCursor[LOG_LEVELS] LOG_BUFFER_ATTRS = {0x0,0x0,0x0,0x0}; /* Store one log message of give size */ -int LogMessage(uint8_t level, uint8_t* buf, uint32_t size){ +int LogMessage(uint8_t level, char* buf, uint32_t size){ if(size < LOG_BUFFER_SIZE - sizeof(mTail)){ uint32_t buffpos; uint64_t new_cursor, old_cursor;