diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-01-08 11:05:32 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-01-08 11:05:32 +0200 |
commit | d562eb482f3180dcd59a332edc91027ea3844d90 (patch) | |
tree | d90bb37b1c75a6429d961031b6a3ae08559408c0 /profile.c | |
parent | b4dc5fb3dc57f7fc7eaba39c5814b8bae9403b77 (diff) | |
download | egawk-d562eb482f3180dcd59a332edc91027ea3844d90.tar.gz egawk-d562eb482f3180dcd59a332edc91027ea3844d90.tar.bz2 egawk-d562eb482f3180dcd59a332edc91027ea3844d90.zip |
Improve use of types throughout.
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -179,7 +179,7 @@ pp_push(int type, char *s, int flag, INSTRUCTION *comment) n->pp_str = s; n->pp_len = strlen(s); n->flags = flag; - n->type = type; + n->type = (NODETYPE) type; n->pp_next = pp_stack; n->pp_comment = comment; pp_stack = n; @@ -781,7 +781,7 @@ cleanup: case Op_indirect_func_call: case Op_func_call: { - char *pre; + const char *pre; int pcount; bool malloced = false; char *fname = adjust_namespace(pc->func_name, & malloced); |