[BUILD] warning ultoa_r returns char *
ultoa_r modifies its output, it returns a char *.
diff --git a/include/common/standard.h b/include/common/standard.h
index ce3c6b8..4dd622a 100644
--- a/include/common/standard.h
+++ b/include/common/standard.h
@@ -55,7 +55,7 @@
* the ascii representation for number 'n' in decimal.
*/
extern char itoa_str[][171];
-extern const char *ultoa_r(unsigned long n, char *buffer, int size);
+extern char *ultoa_r(unsigned long n, char *buffer, int size);
extern const char *ulltoh_r(unsigned long long n, char *buffer, int size);
static inline const char *ultoa(unsigned long n)
{
diff --git a/src/standard.c b/src/standard.c
index aab318b..6ae4dd7 100644
--- a/src/standard.c
+++ b/src/standard.c
@@ -57,7 +57,7 @@
* This function simply returns a locally allocated string containing
* the ascii representation for number 'n' in decimal.
*/
-const char *ultoa_r(unsigned long n, char *buffer, int size)
+char *ultoa_r(unsigned long n, char *buffer, int size)
{
char *pos;