[rygel-grilo] Fix typo when converting uints to gvalues



commit 927e02aff8c271bbb22941840f0460d6bf821ce0
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Wed May 19 12:17:18 2010 +0200

    Fix typo when converting uints to gvalues
    
    It was setting an int instead of uint.

 lib/media-server1-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/media-server1-server.c b/lib/media-server1-server.c
index 7fc0320..660c303 100644
--- a/lib/media-server1-server.c
+++ b/lib/media-server1-server.c
@@ -157,7 +157,7 @@ uint_to_value (guint number)
 
   val = g_new0 (GValue, 1);
   g_value_init (val, G_TYPE_UINT);
-  g_value_set_int (val, number);
+  g_value_set_uint (val, number);
 
   return val;
 }



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