summaryrefslogtreecommitdiffstats
path: root/src/cmd/mk/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/mk/run.c')
-rw-r--r--src/cmd/mk/run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/mk/run.c b/src/cmd/mk/run.c
index 439cc0a5..dd225c0d 100644
--- a/src/cmd/mk/run.c
+++ b/src/cmd/mk/run.c
@@ -168,7 +168,7 @@ again: /* rogue processes */
for(w = j->t; w; w = w->next){
if((s = symlook(w->s, S_NODE, 0)) == 0)
continue; /* not interested in this node */
- update(uarg, (Node *)s->value);
+ update(uarg, s->u.ptr);
}
if(nrunning < nproclimit)
sched();
@@ -182,7 +182,7 @@ nproc(void)
Word *w;
if(sym = symlook("NPROC", S_VAR, 0)) {
- w = (Word *) sym->value;
+ w = sym->u.ptr;
if (w && w->s && w->s[0])
nproclimit = atoi(w->s);
}