core: Fix some warnings on OSX

This commit is contained in:
Lioncash 2015-02-03 08:07:03 -05:00
parent 7f730ed158
commit 676daef3c7
4 changed files with 5 additions and 6 deletions

View file

@ -38,7 +38,7 @@ enum class ResultStatus {
ErrorMemoryAllocationFailed,
};
static u32 MakeMagic(char a, char b, char c, char d) {
static inline u32 MakeMagic(char a, char b, char c, char d) {
return a | b << 8 | c << 16 | d << 24;
}