X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstc-restriction.c;h=42bf9bc31b3a23a2070be0eb550cd2d82fc2824f;hb=64fb306678517e3968a1ef50c4041a993959aeee;hp=ffe1a85c41d6f19b3052ebcca10fa98ce23009f5;hpb=f275de2b3f112d9cdbdbed81d6193916982b22b9;p=platform%2Fcore%2Fconnectivity%2Fstc-manager.git diff --git a/src/stc-restriction.c b/src/stc-restriction.c index ffe1a85..42bf9bc 100755 --- a/src/stc-restriction.c +++ b/src/stc-restriction.c @@ -195,13 +195,13 @@ static void __stc_extract_restriction_rule(const char *key, GVariant *value, } if (!g_strcmp0(key, "app_id")) { - guint str_length; + gsize str_length; const gchar *str = g_variant_get_string(value, &str_length); rule->app_id = g_strdup(str); STC_LOGD("app_id: [%s]", rule->app_id); } else if (!g_strcmp0(key, "ifname")) { - guint str_length; + gsize str_length; const gchar *str = g_variant_get_string(value, &str_length); rule->ifname = g_strdup(str); STC_LOGD("ifname: [%s]", rule->ifname); @@ -239,7 +239,7 @@ static void __stc_extract_restriction_rule(const char *key, GVariant *value, STC_LOGD("roaming: [%u]", rule->roaming); } else if (!g_strcmp0(key, "subscriber_id")) { - guint str_length; + gsize str_length; const gchar *str = g_variant_get_string(value, &str_length); rule->subscriber_id = g_strdup(str); STC_LOGD("subscriber_id: [%s]", rule->subscriber_id); @@ -249,7 +249,7 @@ static void __stc_extract_restriction_rule(const char *key, GVariant *value, STC_LOGD("type: [%u]", (unsigned int) rule->rstn_type); } else if (!g_strcmp0(key, "mac")) { - guint str_length; + gsize str_length; const gchar *str = g_variant_get_string(value, &str_length); rule->mac = g_strdup(str); STC_LOGD("mac: [%s]", rule->mac);