aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-27 22:16:36 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-28 12:14:03 +0200
commit394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d (patch)
treef50457cee0406f7bbea835fd3ba1407ef7549df9 /samsung-ipc/ipc.c
parentdbcd5f77206148c7d446feda48031dde06c480a8 (diff)
downloadexternal_libsamsung-ipc-394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d.zip
external_libsamsung-ipc-394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d.tar.gz
external_libsamsung-ipc-394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d.tar.bz2
GPRS cid count is unsigned integer
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r--samsung-ipc/ipc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index f019642..5db8f4d 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -265,8 +265,8 @@ int ipc_client_power_handlers_register(struct ipc_client *client,
}
int ipc_client_gprs_handlers_register(struct ipc_client *client,
- int (*gprs_activate)(void *gprs_data, int cid),
- int (*gprs_deactivate)(void *gprs_data, int cid), void *gprs_data)
+ int (*gprs_activate)(void *gprs_data, unsigned int cid),
+ int (*gprs_deactivate)(void *gprs_data, unsigned int cid), void *gprs_data)
{
if (client == NULL || client->handlers == NULL)
return -1;
@@ -382,7 +382,7 @@ int ipc_client_power_off(struct ipc_client *client)
return client->handlers->power_off(client->handlers->power_data);
}
-int ipc_client_gprs_activate(struct ipc_client *client, int cid)
+int ipc_client_gprs_activate(struct ipc_client *client, unsigned int cid)
{
if (client == NULL || client->handlers == NULL || client->handlers->gprs_activate == NULL)
return -1;
@@ -390,7 +390,7 @@ int ipc_client_gprs_activate(struct ipc_client *client, int cid)
return client->handlers->gprs_activate(client->handlers->gprs_data, cid);
}
-int ipc_client_gprs_deactivate(struct ipc_client *client, int cid)
+int ipc_client_gprs_deactivate(struct ipc_client *client, unsigned int cid)
{
if (client == NULL || client->handlers == NULL || client->handlers->gprs_deactivate == NULL)
return -1;
@@ -414,7 +414,7 @@ int ipc_client_data_destroy(struct ipc_client *client)
return client->handlers->data_destroy(client->handlers->transport_data, client->handlers->power_data, client->handlers->power_data);
}
-char *ipc_client_gprs_get_iface(struct ipc_client *client, int cid)
+char *ipc_client_gprs_get_iface(struct ipc_client *client, unsigned int cid)
{
if (client == NULL || client->gprs_specs == NULL || client->gprs_specs->gprs_get_iface == NULL)
return NULL;