diff --git a/common/os_calls.c b/common/os_calls.c index ceb581d4..d6adf40c 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1391,7 +1391,7 @@ g_strncasecmp(const char* c1, const char* c2, int len) /*****************************************************************************/ int APP_CC -g_atoi(char* str) +g_atoi(const char* str) { if (str == 0) { diff --git a/common/os_calls.h b/common/os_calls.h index 4296f172..5b9e5bac 100644 --- a/common/os_calls.h +++ b/common/os_calls.h @@ -169,7 +169,7 @@ g_strcasecmp(const char* c1, const char* c2); int APP_CC g_strncasecmp(const char* c1, const char* c2, int len); int APP_CC -g_atoi(char* str); +g_atoi(const char* str); int APP_CC g_htoi(char* str); int APP_CC