aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
authorJoerie de Gram <j.de.gram@gmail.com>2011-10-26 17:08:20 +0200
committerJoerie de Gram <j.de.gram@gmail.com>2011-10-28 13:53:28 +0200
commitaeb7a4c4069cfbbf4f177a038e8379ef7341bd02 (patch)
tree531b69de547ea1afb584916bbd1fd21947490596 /samsung-ipc
parenta38db5807753c279eba7480c0e63e0b6357fef34 (diff)
downloadexternal_libsamsung-ipc-aeb7a4c4069cfbbf4f177a038e8379ef7341bd02.zip
external_libsamsung-ipc-aeb7a4c4069cfbbf4f177a038e8379ef7341bd02.tar.gz
external_libsamsung-ipc-aeb7a4c4069cfbbf4f177a038e8379ef7341bd02.tar.bz2
fix various compilation warnings
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/crespo_ipc.c2
-rw-r--r--samsung-ipc/ipc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/samsung-ipc/crespo_ipc.c b/samsung-ipc/crespo_ipc.c
index 44bc676..45c19b7 100644
--- a/samsung-ipc/crespo_ipc.c
+++ b/samsung-ipc/crespo_ipc.c
@@ -312,7 +312,7 @@ int crespo_ipc_client_send(struct ipc_client *client, struct ipc_request *reques
modem_data.data = malloc(reqhdr.length);
memcpy(modem_data.data, &reqhdr, sizeof(struct ipc_header));
- memcpy(modem_data.data + sizeof(struct ipc_header), request->data, request->length);
+ memcpy((unsigned char *)modem_data.data + sizeof(struct ipc_header), request->data, request->length);
assert(client->write != NULL);
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c
index 9ef091c..3054b98 100644
--- a/samsung-ipc/ipc.c
+++ b/samsung-ipc/ipc.c
@@ -54,7 +54,7 @@ void ipc_client_log(struct ipc_client *client, const char *message, ...)
struct ipc_client* ipc_client_new(int client_type)
{
struct ipc_client *client;
- struct ips_ops *ops = NULL;
+ struct ipc_ops *ops = NULL;
switch (client_type)
{