From: Michal Sojka Date: Wed, 3 Dec 2014 17:39:18 +0000 (+0100) Subject: Remove unneeded type cast of printf format string X-Git-Tag: eaton-0.1-beta~11 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rpp-test-sw.git/commitdiff_plain/ea2fafe4ee672a8a46b23e67eb94f93560f579b8 Remove unneeded type cast of printf format string --- diff --git a/rpp-test-sw/commands/main.c b/rpp-test-sw/commands/main.c index 3fc571f..8d33467 100644 --- a/rpp-test-sw/commands/main.c +++ b/rpp-test-sw/commands/main.c @@ -55,9 +55,7 @@ void main(void) void vApplicationMallocFailedHook(void) { #ifdef DEBUG - rpp_sci_printf((const char *) - "ERROR: manual memory allocation failed.\r\n" - ); + rpp_sci_printf("ERROR: manual memory allocation failed.\r\n"); #endif } #endif @@ -71,9 +69,7 @@ void vApplicationStackOverflowHook(xTaskHandle xTask, signed portCHAR *pcTaskName) { #ifdef DEBUG - rpp_sci_printf((const char *) - "ERROR: Stack overflow : \"%s\".\r\n", pcTaskName - ); + rpp_sci_printf("ERROR: Stack overflow : \"%s\".\r\n", pcTaskName); #endif } #endif