diff options
author | Paul Smith <psmith@gnu.org> | 2010-07-05 18:32:03 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2010-07-05 18:32:03 +0000 |
commit | c78b7265bd1ee374a5e515d79448d0e3452b5ede (patch) | |
tree | 7b46185bfca8c3d2ac28780e359c15c648655bce /ar.c | |
parent | fc644b4c450fee27683cfb73e85488a643de6fa7 (diff) | |
download | gunmake-c78b7265bd1ee374a5e515d79448d0e3452b5ede.tar.gz |
Fixups for warnings on Windows (esp 64bit).
Diffstat (limited to 'ar.c')
-rw-r--r-- | ar.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -212,7 +212,7 @@ static int glob_pattern_p (const char *pattern, int quote) { const char *p; - int open = 0; + int opened = 0; for (p = pattern; *p != '\0'; ++p) switch (*p) @@ -227,11 +227,11 @@ glob_pattern_p (const char *pattern, int quote) break; case '[': - open = 1; + opened = 1; break; case ']': - if (open) + if (opened) return 1; break; } |