Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/icu/patches/clang.patch

Issue 6578023: Make ICU build with Clang. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/icu/README.chromium ('k') | third_party/icu/public/common/unicode/unistr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 Index: common/unicode/unistr.h
2 ===================================================================
3 --- common/unicode/unistr.h (revision 75773)
4 +++ common/unicode/unistr.h (working copy)
5 @@ -4089,7 +4089,7 @@
6 #if defined(__GNUC__)
7 // Ticket #7039: Clip length to the maximum valid length to the end of addres sable memory given the starting address
8 // This is only an issue when using GCC and certain optimizations are turned on.
9 - return extract(start, _length, dst, dst!=0 ? ((dst >= (char*)((size_t)-1) - U INT32_MAX) ? (((char*)UINT32_MAX) - dst) : UINT32_MAX) : 0, codepage);
10 + return extract(start, _length, dst, dst!=0 ? ((dst >= (char*)((size_t)-1) - U INT32_MAX) ? static_cast<unsigned int>((((char*)UINT32_MAX) - dst)) : UINT32_MAX ) : 0, codepage);
11 #else
12 return extract(start, _length, dst, dst!=0 ? 0xffffffff : 0, codepage);
13 #endif
OLDNEW
« no previous file with comments | « third_party/icu/README.chromium ('k') | third_party/icu/public/common/unicode/unistr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698