ret type changed to size_t
diff --git a/sam3s_example/mains/debug_uart_stdlib.c b/sam3s_example/mains/debug_uart_stdlib.c
index a0df628..19ceb5f 100644
--- a/sam3s_example/mains/debug_uart_stdlib.c
+++ b/sam3s_example/mains/debug_uart_stdlib.c
@@ -140,7 +140,7 @@
 
     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);