Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
diff --git a/loader/elf.c b/loader/elf.c
index 9303a9a..47b1128 100644
--- a/loader/elf.c
+++ b/loader/elf.c
@@ -164,7 +164,7 @@
SNOOP_RegisterDLL(hmod,libname,STUBSIZE/sizeof(ELF_STDCALL_STUB));
- wm = PE_CreateModule( hmod, libname, 0, -1, FALSE );
+ wm = PE_CreateModule( hmod, libname, 0, 0, FALSE );
wm->find_export = ELF_FindExportedFunction;
wm->dlhandle = dlhandle;
return wm;