const char for atoi

This commit is contained in:
jsorg71 2010-08-09 22:52:26 +00:00
parent 7e36a89921
commit 0156c1448d
2 changed files with 2 additions and 2 deletions

View File

@ -1391,7 +1391,7 @@ g_strncasecmp(const char* c1, const char* c2, int len)
/*****************************************************************************/ /*****************************************************************************/
int APP_CC int APP_CC
g_atoi(char* str) g_atoi(const char* str)
{ {
if (str == 0) if (str == 0)
{ {

View File

@ -169,7 +169,7 @@ g_strcasecmp(const char* c1, const char* c2);
int APP_CC int APP_CC
g_strncasecmp(const char* c1, const char* c2, int len); g_strncasecmp(const char* c1, const char* c2, int len);
int APP_CC int APP_CC
g_atoi(char* str); g_atoi(const char* str);
int APP_CC int APP_CC
g_htoi(char* str); g_htoi(char* str);
int APP_CC int APP_CC