[Spice-commits] src/spice-widget.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Mar 23 15:52:20 UTC 2016
src/spice-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1174c439dcf149e02c94009cb2628952a0d98652
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Mar 15 10:41:13 2016 +0000
Avoid to access array with negative numbers
diff --git a/src/spice-widget.c b/src/spice-widget.c
index e329809..c2204ed 100644
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -1615,7 +1615,7 @@ static gboolean focus_out_event(GtkWidget *widget, GdkEventFocus *focus G_GNUC_U
return true;
}
-static int button_gdk_to_spice(int gdk)
+static int button_gdk_to_spice(guint gdk)
{
static const int map[] = {
[ 1 ] = SPICE_MOUSE_BUTTON_LEFT,
More information about the Spice-commits
mailing list