summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/driver/video.c')
-rw-r--r--src/kernel/arch/amd64/driver/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/driver/video.c b/src/kernel/arch/amd64/driver/video.c
index ed4b971..c1aabe1 100644
--- a/src/kernel/arch/amd64/driver/video.c
+++ b/src/kernel/arch/amd64/driver/video.c
@@ -37,7 +37,7 @@ static int handle(struct vfs_request *req) {
}
case VFSOP_WRITE:
- if ((long)req->id != H_FB) {
+ if ((long __force)req->id != H_FB) {
return -1;
}
fs_normslice(&req->offset, &req->input.len, fb.size, false);