diff options
author | jvoung@chromium.org <jvoung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-26 20:51:19 +0000 |
---|---|---|
committer | jvoung@chromium.org <jvoung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-26 20:51:19 +0000 |
commit | b8b7debd205af85a1214e5cb907bea7549bdbc42 (patch) | |
tree | a894ea8219e8d8a5ef8cb0682b5bda8401a4db85 /ppapi/native_client | |
parent | 839cff93cb30139b6a4ac0e9d1af276bc7261c43 (diff) | |
download | chromium_src-b8b7debd205af85a1214e5cb907bea7549bdbc42.zip chromium_src-b8b7debd205af85a1214e5cb907bea7549bdbc42.tar.gz chromium_src-b8b7debd205af85a1214e5cb907bea7549bdbc42.tar.bz2 |
Apply pnacl irt shim change to the generator, not the generated file.
Cast to int to avoid overflow.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12315107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client')
-rw-r--r-- | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c index 270a5c3..78cdecf 100644 --- a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c +++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c @@ -121,7 +121,7 @@ static int mystrcmp(const char* s1, const char *s2) { ++s1; ++s2; } - return *(s1) - *(s2); + return (int)(*s1) - (int)(*s2); } /* BEGIN Declarations for all Wrapper Infos */ |