Restructuring and add format strings typechecking for clang

This commit is contained in:
Krzosa Karol
2024-01-12 09:54:41 +01:00
parent a3c0a63ee2
commit f68500a804
13 changed files with 61 additions and 46 deletions

View File

@@ -14,7 +14,7 @@ LIB_Library LIB_LoadLibrary(char *str) {
}
void *LIB_LoadSymbol(LIB_Library lib, char *symbol) {
void *result = GetProcAddress((HMODULE)lib, symbol);
void *result = (void *)GetProcAddress((HMODULE)lib, symbol);
return result;
}