[PATCH] protocol: Use signed int for scale values
alexl at redhat.com
alexl at redhat.com
Fri May 24 04:08:41 PDT 2013
From: Alexander Larsson <alexl at redhat.com>
We usually use signed ints for things like this, to avoid
issues C sign coersion.
---
protocol/wayland.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index acfb140..0c7c053 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1155,7 +1155,7 @@
a buffer that is larger (by a factor of scale in each dimension)
than the desired surface size.
</description>
- <arg name="scale" type="uint"/>
+ <arg name="scale" type="int"/>
</request>
</interface>
@@ -1652,7 +1652,7 @@
avoid scaling the surface, and the client can supply
a higher detail image.
</description>
- <arg name="factor" type="uint" summary="scaling factor of output"/>
+ <arg name="factor" type="int" summary="scaling factor of output"/>
</event>
</interface>
--
1.8.1.4
More information about the wayland-devel
mailing list