diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-17 14:43:59 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-17 14:43:59 +0100 |
commit | 732d6d8ea317937cf6c2c9a44fb3fa10bff8363e (patch) | |
tree | a95e9bbab068ca9b8a199a704fb9898f9fb51a57 | |
parent | 963a1f3ce6c550e74a260efd8928757b77119ef2 (diff) | |
download | libtasn1-732d6d8ea317937cf6c2c9a44fb3fa10bff8363e.tar.gz |
Cast input to isdigit() to integer
That prevents complaints from isdigit() implementations using
the input as an array index without casting.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/ASN1.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -575,7 +575,7 @@ _asn1_yylex () /* Is STRING a number? */ for (k = 0; k < counter; k++) - if (!isdigit (string[k])) + if (!isdigit ((int)string[k])) break; if (k >= counter) { |