From 8d0813d995bcddac8f636ede1bc3ade80013d870 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 28 Sep 2016 00:13:47 +0200 Subject: [PATCH] Fix compilation warning --- lib/stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib.c b/lib/stdlib.c index c37dd56..c0a1991 100644 --- a/lib/stdlib.c +++ b/lib/stdlib.c @@ -48,7 +48,7 @@ uint32_t strtoul(const char* str, char** end, uint8_t base) break; } if (end != NULL) { - *end = str; + *end = (char*)str; } return val; } -- 2.43.0