aboutsummaryrefslogtreecommitdiff
path: root/src/wayland-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland-util.h')
-rw-r--r--src/wayland-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-util.h b/src/wayland-util.h
index 2115f5c..7997778 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -640,7 +640,7 @@ wl_fixed_from_double(double d)
u.d = d + (3LL << (51 - 8));
- return u.i;
+ return (wl_fixed_t)u.i;
}
/**