Respond to a multitude of g++ warnings.

This commit is contained in:
Christopher Faylor
2000-02-21 05:20:38 +00:00
parent 17869f8bf7
commit 9cec3d45aa
30 changed files with 106 additions and 109 deletions

View File

@ -278,7 +278,7 @@ const char *exp;
longest = NULL;
len = 0;
for (; scan != NULL; scan = regnext(scan))
if (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) {
if (OP(scan) == EXACTLY && (int) strlen(OPERAND(scan)) >= len) {
longest = OPERAND(scan);
len = strlen(OPERAND(scan));
}