mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-28 10:15:10 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue