diff --git a/tools/qfcc/source/pr_lex.c b/tools/qfcc/source/pr_lex.c index 1a4f1e2bc..4c5d779ed 100644 --- a/tools/qfcc/source/pr_lex.c +++ b/tools/qfcc/source/pr_lex.c @@ -200,7 +200,7 @@ PR_LexString (void) c = 0; while (*pr_file_p && isxdigit (*pr_file_p)) { c *= 16; - if (*pr_file_p <= 9) + if (*pr_file_p <= '9') c += *pr_file_p - '0'; else if (*pr_file_p <= 'F') c += *pr_file_p - 'A' + 10;