summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip/tip/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tip/tip/value.c')
-rw-r--r--usr.bin/tip/tip/value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tip/tip/value.c b/usr.bin/tip/tip/value.c
index 8be5cd9..0c103c8 100644
--- a/usr.bin/tip/tip/value.c
+++ b/usr.bin/tip/tip/value.c
@@ -185,7 +185,7 @@ vtoken(s)
if ((p = vlookup(s))) {
cp++;
if (p->v_type&NUMBER)
- vassign(p, atoi(cp));
+ vassign(p, (char *) atoi(cp));
else {
if (strcmp(s, "record") == 0)
cp = expand(cp);
@@ -358,7 +358,7 @@ vstring(s,v)
if (p == 0)
return (1);
if (p->v_type&NUMBER)
- vassign(p, atoi(v));
+ vassign(p, (char *) atoi(v));
else {
if (strcmp(s, "record") == 0)
v = expand(v);
OpenPOWER on IntegriCloud