mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-05 20:48:04 +00:00
Merge pull request #5222 from Badaxis/badaxis/Windows-Audio&Winmm
MAKEFOURCC: changed BYTE to byte
This commit is contained in:
@@ -313,7 +313,7 @@ MMVERSION :: UINT
|
||||
|
||||
// Input is four characters string
|
||||
// Output is little-endian u32 representation
|
||||
MAKEFOURCC :: #force_inline proc "contextless" (s: [4]BYTE) -> DWORD {
|
||||
MAKEFOURCC :: #force_inline proc "contextless" (s: [4]byte) -> DWORD {
|
||||
return (DWORD(s[0])) | (DWORD(s[1]) << 8) | (DWORD(s[2]) << 16) | (DWORD(s[3]) << 24 )
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user