diff options
author | Joerg Sonnenberger <joerg@netbsd.org> | 2010-07-25 19:05:59 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@netbsd.org> | 2010-07-25 19:05:59 +0000 |
commit | ab81c92a346ac2efd0e7d19ea69463623518cb41 (patch) | |
tree | 479f02f80735001b7670464e0f03e7662aa57449 | |
parent | d077eeb1d9c69c567d0fd06e867438e856ef14da (diff) | |
download | mandoc-ab81c92a346ac2efd0e7d19ea69463623518cb41.tar.gz |
Ensure that isalnum is called with unsigned char argument.
-rw-r--r-- | mandoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -337,7 +337,7 @@ mandoc_eos(const char *p, size_t sz, int enclosed) found = 1; break; default: - return(found && (!enclosed || isalnum(*q))); + return(found && (!enclosed || isalnum((unsigned char)*q))); } } |