Hi
I'd fix this one, but I'm not 100% sure what the intent is. There's code
in PdfColor that uses ++ in contexts where the value is referenced more
than once in an expression. Since there's no order of evaluation defined
for the expression, the results could vary.
PdfColor.cpp from line 410:
r = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
g = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
b = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
and from line 423:
c = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
m = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
y = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
k = (GetHex( *pszName++ ) << 4) | GetHex( *pszName++ );
--
Craig Ringer
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users