diff --git a/cogl/cogl-onscreen.h b/cogl/cogl-onscreen.h
index e903f82e8..bc11217b0 100644
--- a/cogl/cogl-onscreen.h
+++ b/cogl/cogl-onscreen.h
@@ -187,10 +187,10 @@ cogl_wayland_onscreen_get_shell_surface (CoglOnscreen *onscreen);
 
 void
 cogl_wayland_onscreen_resize (CoglOnscreen *onscreen,
-                              gint          width,
-                              gint          height,
-                              gint          offset_x,
-                              gint          offset_y);
+                              int           width,
+                              int           height,
+                              int           offset_x,
+                              int           offset_y);
 #endif /* COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT */
 
 /**
diff --git a/cogl/winsys/cogl-winsys-egl-wayland.c b/cogl/winsys/cogl-winsys-egl-wayland.c
index 46e144b7a..729ecac3a 100644
--- a/cogl/winsys/cogl-winsys-egl-wayland.c
+++ b/cogl/winsys/cogl-winsys-egl-wayland.c
@@ -501,10 +501,10 @@ cogl_wayland_onscreen_get_shell_surface (CoglOnscreen *onscreen)
 
 void
 cogl_wayland_onscreen_resize (CoglOnscreen *onscreen,
-                              gint          width,
-                              gint          height,
-                              gint          offset_x,
-                              gint          offset_y)
+                              int           width,
+                              int           height,
+                              int           offset_x,
+                              int           offset_y)
 {
   CoglFramebuffer *fb;