summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/channel-display-priv.h2
-rw-r--r--gtk/channel-display.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk/channel-display-priv.h b/gtk/channel-display-priv.h
index d327c28..ff0f484 100644
--- a/gtk/channel-display-priv.h
+++ b/gtk/channel-display-priv.h
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
typedef struct display_surface {
RingItem link;
- int surface_id;
+ guint32 surface_id;
bool primary;
enum SpiceSurfaceFmt format;
int width, height, stride, size;
diff --git a/gtk/channel-display.c b/gtk/channel-display.c
index 801d867..952628c 100644
--- a/gtk/channel-display.c
+++ b/gtk/channel-display.c
@@ -100,7 +100,7 @@ static void spice_display_channel_up(SpiceChannel *channel);
static void clear_surfaces(SpiceChannel *channel, gboolean keep_primary);
static void clear_streams(SpiceChannel *channel);
-static display_surface *find_surface(SpiceDisplayChannelPrivate *c, int surface_id);
+static display_surface *find_surface(SpiceDisplayChannelPrivate *c, guint32 surface_id);
static gboolean display_stream_render(display_stream *st);
static void spice_display_channel_reset(SpiceChannel *channel, gboolean migrating);
static void spice_display_channel_reset_capabilities(SpiceChannel *channel);
@@ -710,7 +710,7 @@ static void destroy_canvas(display_surface *surface)
surface->canvas = NULL;
}
-static display_surface *find_surface(SpiceDisplayChannelPrivate *c, int surface_id)
+static display_surface *find_surface(SpiceDisplayChannelPrivate *c, guint32 surface_id)
{
display_surface *surface;
RingItem *item;