From 72ff4565f3178e338c098ede8977cd860471babb Mon Sep 17 00:00:00 2001 From: Christina Quast Date: Fri, 5 Dec 2014 15:51:43 +0100 Subject: [PATCH] ret type changed to size_t --- sam3s_example/mains/debug_uart_stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sam3s_example/mains/debug_uart_stdlib.c b/sam3s_example/mains/debug_uart_stdlib.c index a0df6281..19ceb5ff 100644 --- a/sam3s_example/mains/debug_uart_stdlib.c +++ b/sam3s_example/mains/debug_uart_stdlib.c @@ -140,7 +140,7 @@ int main() { Configure_LED(); - int ret = asprintf(&cmdp, "Clockval: %d\r\n", BOARD_MCK); + size_t ret = asprintf(&cmdp, "Clockval: %d\r\n", BOARD_MCK); if (ret != strlen(cmdp)){ PIO_Clear(&redled);