mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 04:54:27 +01:00
Fix type in string_conversion.cc introduced in r1046
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1049 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
6446cfcff0
commit
5b6c092b01
@ -115,7 +115,7 @@ void UTF32ToUTF16Char(wchar_t in, u_int16_t out[2]) {
|
||||
}
|
||||
|
||||
static inline u_int16_t Swap(u_int16_t value) {
|
||||
return (value >> 8) | static_cast<uint16_t>(value << 8);
|
||||
return (value >> 8) | static_cast<u_int16_t>(value << 8);
|
||||
}
|
||||
|
||||
string UTF16ToUTF8(const vector<u_int16_t> &in, bool swap) {
|
||||
|
Loading…
Reference in New Issue
Block a user