Fixes warning in latest mingw

This commit is contained in:
Alberto Ortega 2015-12-27 12:17:18 +01:00
parent 7420c27542
commit 896f26f3be
2 changed files with 6 additions and 6 deletions

View File

@ -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) {

View File

@ -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);