Bug 502301 - Fix binhex_decode array signedness which broke builds on architectures where char is unsigned [r=benjamin]

This was detected by the C++0x narrowing conversion inside {} compilation errors.
This commit is contained in:
Mike Hommey 2010-04-20 10:44:59 +02:00
parent c66b15e601
commit 46db370e20

View File

@ -98,7 +98,7 @@ NS_INTERFACE_MAP_END
// The binhex 4.0 decoder table....
static char binhex_decode[256] =
static signed char binhex_decode[256] =
{
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,