[PATCH 2/2] cdma: Use GSIZE_TO_POINTER for char type



---
 src/mm-generic-cdma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mm-generic-cdma.c b/src/mm-generic-cdma.c
index 5d58a81..ef9faed 100644
--- a/src/mm-generic-cdma.c
+++ b/src/mm-generic-cdma.c
@@ -504,7 +504,7 @@ serving_system_done (MMSerialPort *port,
                                                 "No service");
         } else {
             mm_callback_info_set_data (info, "class", GUINT_TO_POINTER (class), NULL);
-            mm_callback_info_set_data (info, "band", GUINT_TO_POINTER (band), NULL);
+            mm_callback_info_set_data (info, "band", GSIZE_TO_POINTER (band), NULL);
             mm_callback_info_set_data (info, "sid", GUINT_TO_POINTER (sid), NULL);
         }
     } else
-- 
1.6.3.3


--=-gF781k5vo6AfsGgwVw3Y
Content-Disposition: attachment; filename="0001-initscript-Gentoo-Depend-on-dbus-instead-of-hald.patch"
Content-Type: text/x-patch; name="0001-initscript-Gentoo-Depend-on-dbus-instead-of-hald.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



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