aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-01-08 11:05:32 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-01-08 11:05:32 +0200
commitd562eb482f3180dcd59a332edc91027ea3844d90 (patch)
treed90bb37b1c75a6429d961031b6a3ae08559408c0 /profile.c
parentb4dc5fb3dc57f7fc7eaba39c5814b8bae9403b77 (diff)
downloadegawk-d562eb482f3180dcd59a332edc91027ea3844d90.tar.gz
egawk-d562eb482f3180dcd59a332edc91027ea3844d90.tar.bz2
egawk-d562eb482f3180dcd59a332edc91027ea3844d90.zip
Improve use of types throughout.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.c b/profile.c
index 44e171fc..e4fd88d6 100644
--- a/profile.c
+++ b/profile.c
@@ -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);