Fix compilation warning
authorNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 27 Sep 2016 22:13:47 +0000 (00:13 +0200)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 27 Sep 2016 22:13:47 +0000 (00:13 +0200)
lib/stdlib.c

index c37dd56..c0a1991 100644 (file)
@@ -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;
 }