summaryrefslogtreecommitdiff
path: root/src/cmd/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/init')
-rw-r--r--src/cmd/init/driver/termcook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/init/driver/termcook.c b/src/cmd/init/driver/termcook.c
index ed851e3..0869d37 100644
--- a/src/cmd/init/driver/termcook.c
+++ b/src/cmd/init/driver/termcook.c
@@ -131,7 +131,7 @@ static void fs(void *) {
for (;;) {
struct ufs_request req;
hid_t reqh = ufs_wait(buf, buflen, &req);
- int id = (int)req.id;
+ int id = (uintptr_t)req.id;
if (reqh < 0) errx(1, "ufs_wait error");
if (req.op == VFSOP_OPEN) {