1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Fix a whole bunch of clang warnings.

This commit is contained in:
Darryl Pogue
2012-12-15 16:46:20 -08:00
parent ca87b47ca8
commit 4221b57baa
11 changed files with 23 additions and 13 deletions

View File

@ -169,8 +169,7 @@ void DebugMsg(const char fmt[], ...)
OutputDebugStringA("\n");
#endif
} else {
fprintf(stderr, msg);
fprintf(stderr, "\n");
fprintf(stderr, "%s\n", msg);
}
}
@ -315,6 +314,7 @@ int hsMessageBoxWithOwner(hsWindowHndl owner, const char message[], const char c
}
#endif
return hsMBoxCancel;
}
int hsMessageBoxWithOwner(hsWindowHndl owner, const wchar_t message[], const wchar_t caption[], int kind, int icon)
@ -367,6 +367,7 @@ int hsMessageBoxWithOwner(hsWindowHndl owner, const wchar_t message[], const wch
}
#endif
return hsMBoxCancel;
}
int hsMessageBox(const char message[], const char caption[], int kind, int icon)