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

Side by Side Diff: third_party/libxml/patches/xmlregexp-bogus-cast

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 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
« no previous file with comments | « third_party/libxml/patches/win32-no-posix-error-codes ('k') | third_party/libxml/src/ChangeLog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Change bogus '(unsigned long)' cast to '(unsigned short)'
2
3 Index: libxml/xmlregexp.c
4 ===================================================================
5 --- libxml.orig/xmlregexp.c 2010-07-09 14:16:36.990430641 -0700
6 +++ libxml/xmlregexp.c 2010-07-09 14:16:40.939742007 -0700
7 @@ -6470,7 +6470,7 @@
8 if (name != NULL) {
9 value += 30 * (*name);
10 while ((ch = *name++) != 0) {
11 - value = value ^ ((value << 5) + (value >> 3) + (unsigned long)ch);
12 + value = value ^ ((value << 5) + (value >> 3) + (unsigned short)ch);
13 }
14 }
15 return (value);
OLDNEW
« no previous file with comments | « third_party/libxml/patches/win32-no-posix-error-codes ('k') | third_party/libxml/src/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698