diff options
author | dzwdz | 2022-07-21 15:25:33 +0200 |
---|---|---|
committer | dzwdz | 2022-07-21 15:25:33 +0200 |
commit | 6cd59ad0124d8a22e8cbb77f87e8f0aa20633c59 (patch) | |
tree | dc1942a47f1c9ca96e9724a8b7ab69d6afd9025b /src/kernel/arch/amd64/driver/fsroot.c | |
parent | bc49ea97bb61bbe55af3e847a88a649d04a93777 (diff) |
fix type-related compiler warnings
Diffstat (limited to 'src/kernel/arch/amd64/driver/fsroot.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/fsroot.c | 2 |
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 5e48638..d6e943f 100644 --- a/src/kernel/arch/amd64/driver/fsroot.c +++ b/src/kernel/arch/amd64/driver/fsroot.c @@ -56,7 +56,7 @@ static int req_readcopy(struct vfs_request *req, const void *buf, size_t len) { static int handle(struct vfs_request *req) { assert(req->caller); - int id = (int)(long)req->id; + int id = (int)(long __force)req->id; switch (req->type) { case VFSOP_OPEN: if (exacteq(req, "/")) return HANDLE_ROOT; |