diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-21 05:20:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-21 05:20:38 +0000 |
commit | 9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9 (patch) | |
tree | c7033544db3e6e96f568e08cc0b283c58cb24e94 /winsup/cygwin/regexp | |
parent | 17869f8bf7adce5296d844c51c14e89f45fc4054 (diff) | |
download | newlib-9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9.zip newlib-9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9.tar.gz newlib-9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9.tar.bz2 |
Respond to a multitude of g++ warnings.
Diffstat (limited to 'winsup/cygwin/regexp')
-rw-r--r-- | winsup/cygwin/regexp/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/regexp/regexp.c b/winsup/cygwin/regexp/regexp.c index 2f84865..a20f816 100644 --- a/winsup/cygwin/regexp/regexp.c +++ b/winsup/cygwin/regexp/regexp.c @@ -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)); } |