summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-03-08 03:31:14 +0000
committerjsorg71 <jsorg71>2005-03-08 03:31:14 +0000
commit777893bdd6f4e98f2074ccc3b9f0d890bc2ac387 (patch)
tree5656cc89ac1a64461ce5ba31f28ac896f2362c3a /common/os_calls.c
parentd5dea39bafc3440b1726cf90a8295ecb393e059c (diff)
downloadxrdp-proprietary-777893bdd6f4e98f2074ccc3b9f0d890bc2ac387.tar.gz
xrdp-proprietary-777893bdd6f4e98f2074ccc3b9f0d890bc2ac387.zip
some ints should be long
Diffstat (limited to 'common/os_calls.c')
-rw-r--r--common/os_calls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index a4ad43b9..48893766 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -870,17 +870,17 @@ int g_strcmp(char* c1, char* c2)
}
/*****************************************************************************/
-int g_load_library(char* in)
+long g_load_library(char* in)
{
#if defined(_WIN32)
return 0;
#else
- return (int)dlopen(in, RTLD_LOCAL | RTLD_LAZY);
+ return (long)dlopen(in, RTLD_LOCAL | RTLD_LAZY);
#endif
}
/*****************************************************************************/
-int g_free_library(int lib)
+int g_free_library(long lib)
{
if (lib == 0)
{
@@ -895,7 +895,7 @@ int g_free_library(int lib)
/*****************************************************************************/
/* returns NULL if not found */
-void* g_get_proc_address(int lib, char* name)
+void* g_get_proc_address(long lib, char* name)
{
if (lib == 0)
{