diff --git a/lib/roken/rkpty.c b/lib/roken/rkpty.c index b2f021e42..619b7b639 100644 --- a/lib/roken/rkpty.c +++ b/lib/roken/rkpty.c @@ -233,7 +233,7 @@ eval_parent(pid_t pid) c->str, c->lineno); else if (alarmset) errx(1, "got a signal %d waiting for %s (line %u)", - alarmset, c->str, c->lineno); + (int)alarmset, c->str, c->lineno); if (sret <= 0) errx(1, "end command while waiting for %s (line %u)", c->str, c->lineno);