Style: Use unsigned int instead of unsigned
authorDenis Kenzior <denis.kenzior@intel.com>
Tue, 1 Dec 2009 18:04:14 +0000 (12:04 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 1 Dec 2009 18:42:23 +0000 (12:42 -0600)
drivers/atmodem/gprs-context.c
drivers/hsomodem/gprs-context.c
drivers/mbmmodem/gprs-context.c
include/gprs-context.h
include/types.h
src/gprs.c

index abc68a4..a7923f2 100644 (file)
@@ -44,7 +44,7 @@ static const char *none_prefix[] = { NULL };
 
 struct gprs_context_data {
        GAtChat *chat;
-       unsigned active_context;
+       unsigned int active_context;
 };
 
 static void at_cgact_down_cb(gboolean ok, GAtResult *result, gpointer user_data)
index df66ec9..b433bf1 100644 (file)
@@ -55,7 +55,7 @@ enum hso_state {
 
 struct gprs_context_data {
        GAtChat *chat;
-       unsigned active_context;                        /* Currently active */
+       unsigned int active_context;                    /* Currently active */
        enum hso_state hso_state;                       /* Are we in req ? */
        union {
                ofono_gprs_context_cb_t down_cb;        /* Down callback */
index a6d2aea..778d3bf 100644 (file)
@@ -47,7 +47,7 @@ static const char *none_prefix[] = { NULL };
 
 struct gprs_context_data {
        GAtChat *chat;
-       unsigned active_context;
+       unsigned int active_context;
 };
 
 static void at_enap_down_cb(gboolean ok, GAtResult *result, gpointer user_data)
index ba026e5..2f547da 100644 (file)
@@ -62,7 +62,8 @@ struct ofono_gprs_context_driver {
                                        ofono_gprs_context_cb_t cb, void *data);
 };
 
-void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc, unsigned id);
+void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc,
+                                       unsigned int id);
 
 int ofono_gprs_context_driver_register(const struct ofono_gprs_context_driver *d);
 void ofono_gprs_context_driver_unregister(const struct ofono_gprs_context_driver *d);
index 79e6d4c..9ad31b9 100644 (file)
@@ -83,7 +83,7 @@ struct ofono_phone_number {
 };
 
 struct ofono_call {
-       unsigned id;
+       unsigned int id;
        int type;
        int direction;
        int status;
index 5f2959f..293c318 100644 (file)
@@ -1389,7 +1389,8 @@ void ofono_gprs_add_context(struct ofono_gprs *gprs,
        __ofono_atom_register(gc->atom, gprs_context_unregister);
 }
 
-void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc, unsigned cid)
+void ofono_gprs_context_deactivated(struct ofono_gprs_context *gc,
+                                       unsigned int cid)
 {
        DBusConnection *conn = ofono_dbus_get_connection();
        GSList *l;