Skip to content

Commit

Permalink
Overload OSStatus instead of int for FourCCPrinter
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Dec 11, 2024
1 parent 41dcefb commit 6790234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alc/backends/coreaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct FourCCPrinter {
code >>= 8;
}
}
constexpr FourCCPrinter(int code) noexcept : FourCCPrinter{static_cast<UInt32>(code)} { }
constexpr FourCCPrinter(OSStatus code) noexcept : FourCCPrinter{static_cast<UInt32>(code)} { }

constexpr const char *c_str() const noexcept { return mString; }
};
Expand Down

0 comments on commit 6790234

Please sign in to comment.