summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2010-08-09 22:52:26 +0000
committerjsorg71 <jsorg71>2010-08-09 22:52:26 +0000
commit0156c1448df053d4bd144f19aba4353ddebe1978 (patch)
tree81f442fe97c9c1950a7cfaf7c69d9980b557d492 /common
parent7e36a89921274081ce8ab86307f333c821aa9aac (diff)
downloadxrdp-proprietary-0156c1448df053d4bd144f19aba4353ddebe1978.tar.gz
xrdp-proprietary-0156c1448df053d4bd144f19aba4353ddebe1978.zip
const char for atoi
Diffstat (limited to 'common')
-rw-r--r--common/os_calls.c2
-rw-r--r--common/os_calls.h2
2 files changed, 2 insertions, 2 deletions
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