[bdf] Improvement to Savannah bug #35656.

* src/bdf/bdflib.c (isdigok): Add cast, as suggested in report.
This commit is contained in:
Werner Lemberg 2012-03-20 07:23:12 +01:00
parent 9e0c667413
commit 37b5c92f83
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-03-20 Werner Lemberg <wl@gnu.org>
[bdf] Improvement to Savannah bug #35656.
* src/bdf/bdflib.c (isdigok): Add cast, as suggested in report.
2012-03-17 Chris Liddell <chris.liddell@artifex.com>
[type1] Fix Savannah bug #35847.

View File

@ -842,7 +842,7 @@
};
#define isdigok( m, d ) (m[(d) >> 3] & ( 1 << ( (d) & 7 ) ) )
#define isdigok( m, d ) (m[(unsigned char)(d) >> 3] & ( 1 << ( (d) & 7 ) ) )
/* Routine to convert an ASCII string into an unsigned long integer. */