ARM Skia NEON patches - 09 - Bugfix
Misc: fix a PDF warning/bug on ARM char is unsigned by default on ARM, so the (curNibble < 0) test is always false, probably leading to a bug. BUG= R=djsollen@google.com, edisonn@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18365005 git-svn-id: http://skia.googlecode.com/svn/trunk@9954 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
89c43e84c4
commit
3720fda4eb
@ -226,7 +226,7 @@ SkStream* handleType1Stream(SkStream* srcStream, size_t* headerLen,
|
||||
uint8_t dataByte = 0; // To hush compiler.
|
||||
bool highNibble = true;
|
||||
for (; hexData < trailer; hexData++) {
|
||||
char curNibble = hexToBin(*hexData);
|
||||
int8_t curNibble = hexToBin(*hexData);
|
||||
if (curNibble < 0) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user