[aravis] gv_device: don't compare guint32 and guint16.



commit b779bbe2a34648f6d046bc40249e46e55e095423
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Mon Jun 27 11:05:01 2011 +0200

    gv_device: don't compare guint32 and guint16.
    
    packet count is a 16 bit value in gvcp packets.

 src/arvgvdevice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgvdevice.c b/src/arvgvdevice.c
index 1f06914..96a6066 100644
--- a/src/arvgvdevice.c
+++ b/src/arvgvdevice.c
@@ -42,7 +42,7 @@ static GRegex *arv_gv_device_url_regex = NULL;
 typedef struct {
 	GMutex *mutex;
 
-	guint32 packet_count;
+	guint16 packet_count;
 
 	GSocket *socket;
 	GSocketAddress	*interface_address;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]