summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/serenity.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-25 16:08:02 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-25 16:27:12 +0100
commiteb08a0edd5159ee36782496f10736521147b575a (patch)
treeb80927d3afc33525f9647214883476d48d619100 /Userland/Libraries/LibC/serenity.cpp
parent8714f389f9d0819f888f990fb1941a258132328d (diff)
downloadserenity-eb08a0edd5159ee36782496f10736521147b575a.zip
LibC: Make it compile on 64-bit
It won't actually work on 64-bit yet, but let's do our future selves a favor and make it compile.
Diffstat (limited to 'Userland/Libraries/LibC/serenity.cpp')
-rw-r--r--Userland/Libraries/LibC/serenity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/serenity.cpp b/Userland/Libraries/LibC/serenity.cpp
index 8899a2b7df..1cf5f5f68f 100644
--- a/Userland/Libraries/LibC/serenity.cpp
+++ b/Userland/Libraries/LibC/serenity.cpp
@@ -73,7 +73,7 @@ int futex(uint32_t* userspace_address, int futex_op, uint32_t value, const struc
.userspace_address = userspace_address,
.futex_op = futex_op,
.val = value,
- .val2 = (uint32_t)timeout,
+ .val2 = (FlatPtr)timeout,
.userspace_address2 = userspace_address2,
.val3 = value3
};