* src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653).
diff --git a/ChangeLog b/ChangeLog
index dfafdfb..0229dce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-07-22 Weiyi Wu <w1w2y3@gmail.com>
+
+ * src/cid/cidload.c (cid_hex_to_binary): Fix typo (#56653).
+
2019-07-12 Werner Lemberg <wl@gnu.org>
[sfnt, winfonts] Avoid memory leaks in case of error (#56587).
diff --git a/src/cid/cidload.c b/src/cid/cidload.c
index fce3e37..fdd877e 100644
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -715,7 +715,7 @@
if ( ft_isdigit( *p ) )
val = (FT_Byte)( *p - '0' );
else if ( *p >= 'a' && *p <= 'f' )
- val = (FT_Byte)( *p - 'a' );
+ val = (FT_Byte)( *p - 'a' + 10 );
else if ( *p >= 'A' && *p <= 'F' )
val = (FT_Byte)( *p - 'A' + 10 );
else if ( *p == ' ' ||