diff options
author | dzwdz | 2024-07-27 20:00:54 +0200 |
---|---|---|
committer | dzwdz | 2024-07-27 20:00:54 +0200 |
commit | 1890868af4b8cf2593a4b0831e2fc69a44ec680b (patch) | |
tree | e3aed1f9b54716d1e9fb79d281bf53abd4fa0821 /src/cmd/init/driver | |
parent | fe6fbfa07aa8326926049cf62560d940bc7305c0 (diff) |
cmd/termcook: fix integer size cast warning
Diffstat (limited to 'src/cmd/init/driver')
-rw-r--r-- | src/cmd/init/driver/termcook.c | 2 |
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) { |