Convert all scales to int32_t
The type changed in the protocol, so update weston for this.
diff --git a/src/compositor-x11.c b/src/compositor-x11.c
index 279f1b3..3ed6af5 100644
--- a/src/compositor-x11.c
+++ b/src/compositor-x11.c
@@ -114,7 +114,7 @@
int shm_id;
void *buf;
uint8_t depth;
- uint32_t scale;
+ int32_t scale;
};
static struct xkb_keymap *
@@ -777,7 +777,7 @@
x11_compositor_create_output(struct x11_compositor *c, int x, int y,
int width, int height, int fullscreen,
int no_input, char *configured_name,
- uint32_t transform, uint32_t scale)
+ uint32_t transform, int32_t scale)
{
static const char name[] = "Weston Compositor";
static const char class[] = "weston-1\0Weston Compositor";