aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/sec.c
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/sec.c')
-rw-r--r--samsung-ipc/sec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c
index 9cef712..5d43a62 100644
--- a/samsung-ipc/sec.c
+++ b/samsung-ipc/sec.c
@@ -32,18 +32,18 @@ void ipc_sec_pin_status_set_setup(struct ipc_sec_pin_status_set *message,
if (pin1 != NULL)
{
- strncpy(message->pin1, pin1, 8);
+ strncpy((char*)message->pin1, pin1, 8);
message->length1 = strlen(pin1);
}
if (pin2 != NULL)
{
- strncpy(message->pin2, pin2, 8);
+ strncpy((char*)message->pin2, pin2, 8);
message->length2 = strlen(pin2);
}
}
-char* ipc_sec_rsim_access_response_get_file_data(struct ipc_response *response)
+char* ipc_sec_rsim_access_response_get_file_data(struct ipc_message_info *response)
{
int n = 0;
int offset = (int) sizeof(struct ipc_sec_rsim_access_response);