summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/fsroot.c
diff options
context:
space:
mode:
authordzwdz2022-07-16 22:50:34 +0200
committerdzwdz2022-07-16 22:50:34 +0200
commita251c14f1a745f3388ce73a5a45ebc73cd1782b5 (patch)
tree2eab140ce2bcc729d8836e97a61bd0d731bb44d6 /src/kernel/arch/amd64/driver/fsroot.c
parentc8ed6aa7476b7f506366d9fe56ed6f2e7a12b40d (diff)
amd64: back at the shell!
Diffstat (limited to 'src/kernel/arch/amd64/driver/fsroot.c')
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c
index 02a4a21..e651c47 100644
--- a/src/kernel/arch/amd64/driver/fsroot.c
+++ b/src/kernel/arch/amd64/driver/fsroot.c
@@ -45,7 +45,7 @@ static void req_preprocess(struct vfs_request *req, size_t max_len) {
static int handle(struct vfs_request *req) {
assert(req->caller);
- int id = (int)req->id;
+ int id = (int)(long)req->id;
switch (req->type) {
case VFSOP_OPEN:
if (exacteq(req, "/")) return HANDLE_ROOT;