mirror of
https://github.com/taviso/loadlibrary
synced 2026-06-08 17:42:38 +00:00
hide some compiler warnings.
This commit is contained in:
@@ -579,7 +579,7 @@ int link_pe_images(struct pe_image *pe_image, unsigned short n)
|
||||
IMAGE_TLS_DIRECTORY *);
|
||||
|
||||
// This means that slot 0 is reserved.
|
||||
LocalStorage[0] = TlsData->RawDataStart;
|
||||
LocalStorage[0] = (uintptr_t) TlsData->RawDataStart;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include "util.h"
|
||||
#include "winstrings.h"
|
||||
|
||||
extern void WINAPI SetLastError(DWORD dwErrCode);
|
||||
|
||||
static HANDLE WINAPI CreateEventW(PVOID lpEventAttributes, BOOL bManualReset, BOOL bInitialState, PWCHAR lpName)
|
||||
{
|
||||
char *AnsiName;
|
||||
|
||||
@@ -18,31 +18,30 @@
|
||||
static __stdcall PVOID CreateThreadPoolWait(PVOID pwa)
|
||||
{
|
||||
DebugLog("");
|
||||
return 0x41414141;
|
||||
return (PVOID) 0x41414141;
|
||||
}
|
||||
|
||||
static __stdcall PVOID CreateThreadPool(PVOID reserved)
|
||||
{
|
||||
DebugLog("");
|
||||
return 0x41414141;
|
||||
return (PVOID) 0x41414141;
|
||||
}
|
||||
|
||||
static __stdcall PVOID CreateThreadpoolTimer(PVOID pfnti, PVOID pv, PVOID pcbe)
|
||||
{
|
||||
DebugLog("");
|
||||
return 0x41414141;
|
||||
return (PVOID) 0x41414141;
|
||||
}
|
||||
|
||||
static __stdcall PVOID CreateThreadpoolWork(PVOID pfnwk, PVOID pv, PVOID pcbe)
|
||||
{
|
||||
DebugLog("");
|
||||
return 0x41414141;
|
||||
return (PVOID) 0x41414141;
|
||||
}
|
||||
|
||||
static __stdcall PVOID CloseThreadpoolTimer(PVOID pti)
|
||||
static __stdcall void CloseThreadpoolTimer(PVOID pti)
|
||||
{
|
||||
DebugLog("");
|
||||
return NULL;
|
||||
DebugLog("%p", pti);
|
||||
}
|
||||
|
||||
static __stdcall PVOID CreateThreadpoolWait() { DebugLog(""); return NULL; }
|
||||
|
||||
Reference in New Issue
Block a user