diff options
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/awk.c b/editors/awk.c index f04ea5ced..fef3246b8 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -676,7 +676,7 @@ static char nextchar(char **s) | |||
676 | return c; | 676 | return c; |
677 | } | 677 | } |
678 | 678 | ||
679 | static int ALWAYS_INLINE isalnum_(int c) | 679 | static ALWAYS_INLINE int isalnum_(int c) |
680 | { | 680 | { |
681 | return (isalnum(c) || c == '_'); | 681 | return (isalnum(c) || c == '_'); |
682 | } | 682 | } |
@@ -1682,7 +1682,7 @@ static void hashwalk_init(var *v, xhash *array) | |||
1682 | { | 1682 | { |
1683 | char **w; | 1683 | char **w; |
1684 | hash_item *hi; | 1684 | hash_item *hi; |
1685 | int i; | 1685 | unsigned i; |
1686 | 1686 | ||
1687 | if (v->type & VF_WALK) | 1687 | if (v->type & VF_WALK) |
1688 | free(v->x.walker); | 1688 | free(v->x.walker); |
@@ -1996,7 +1996,7 @@ static var *exec_builtin(node *op, var *res) | |||
1996 | } | 1996 | } |
1997 | 1997 | ||
1998 | nargs = i; | 1998 | nargs = i; |
1999 | if (nargs < (info >> 30)) | 1999 | if ((uint32_t)nargs < (info >> 30)) |
2000 | syntax_error(EMSG_TOO_FEW_ARGS); | 2000 | syntax_error(EMSG_TOO_FEW_ARGS); |
2001 | 2001 | ||
2002 | switch (info & OPNMASK) { | 2002 | switch (info & OPNMASK) { |