aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
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)
{