diff options
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index bdc37cb7c53..aef80f5cc80 100644 --- a/src/coding.c +++ b/src/coding.c @@ -3935,7 +3935,7 @@ decode_coding_iso_2022 (coding) int size; ONE_MORE_BYTE (dim); - if (dim < 0 || dim > 4) + if (dim < '0' || dim > '4') goto invalid_code; ONE_MORE_BYTE (M); if (M < 128) |