mirror of
https://github.com/a0rtega/pafish
synced 2024-11-21 22:01:56 +03:00
Fixes warning in latest mingw
This commit is contained in:
parent
7420c27542
commit
896f26f3be
@ -69,7 +69,7 @@ int pafish_iswow64() {
|
||||
return (fniswow) && (fniswow(GetCurrentProcess(), &result) != 0) ? result : FALSE;
|
||||
}
|
||||
|
||||
inline int pafish_exists_regkey(HKEY hKey, char * regkey_s) {
|
||||
int pafish_exists_regkey(HKEY hKey, char * regkey_s) {
|
||||
HKEY regkey;
|
||||
LONG ret;
|
||||
|
||||
@ -87,7 +87,7 @@ inline int pafish_exists_regkey(HKEY hKey, char * regkey_s) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
inline int pafish_exists_regkey_value_str(HKEY hKey, char * regkey_s, char * value_s, char * lookup) {
|
||||
int pafish_exists_regkey_value_str(HKEY hKey, char * regkey_s, char * value_s, char * lookup) {
|
||||
HKEY regkey;
|
||||
LONG ret;
|
||||
DWORD size;
|
||||
@ -126,7 +126,7 @@ inline int pafish_exists_regkey_value_str(HKEY hKey, char * regkey_s, char * val
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
inline int pafish_exists_file(char * filename) {
|
||||
int pafish_exists_file(char * filename) {
|
||||
DWORD res = INVALID_FILE_ATTRIBUTES;
|
||||
|
||||
if (pafish_iswow64() == TRUE) {
|
||||
|
@ -10,11 +10,11 @@ int pafish_revert_wow64_fs_redirection(void * old);
|
||||
|
||||
int pafish_iswow64();
|
||||
|
||||
inline int pafish_exists_regkey(HKEY hKey, char * regkey);
|
||||
int pafish_exists_regkey(HKEY hKey, char * regkey);
|
||||
|
||||
inline int pafish_exists_regkey_value_str(HKEY, char *, char *, char *);
|
||||
int pafish_exists_regkey_value_str(HKEY, char *, char *, char *);
|
||||
|
||||
inline int pafish_exists_file(char * filename);
|
||||
int pafish_exists_file(char * filename);
|
||||
|
||||
int pafish_check_mac_vendor(char * mac_vendor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user