diff options
Diffstat (limited to 'samsung-ipc/rfs.c')
-rw-r--r-- | samsung-ipc/rfs.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/samsung-ipc/rfs.c b/samsung-ipc/rfs.c index 5950f30..086646c 100644 --- a/samsung-ipc/rfs.c +++ b/samsung-ipc/rfs.c @@ -555,7 +555,8 @@ void *ipc_nv_data_load(struct ipc_client *client) return data; } -void *ipc_nv_data_read(struct ipc_client *client, size_t size, size_t offset) +void *ipc_nv_data_read(struct ipc_client *client, size_t size, + unsigned int offset) { void *data; char *path; @@ -586,7 +587,7 @@ void *ipc_nv_data_read(struct ipc_client *client, size_t size, size_t offset) } int ipc_nv_data_write(struct ipc_client *client, const void *data, size_t size, - size_t offset) + unsigned int offset) { char *path; char *md5_path; @@ -656,7 +657,7 @@ complete: } void *ipc_rfs_nv_read_item_response_setup(const void *data, size_t size, - size_t offset) + unsigned int offset) { struct ipc_rfs_nv_read_item_response_header *header; void *buffer; @@ -678,7 +679,7 @@ void *ipc_rfs_nv_read_item_response_setup(const void *data, size_t size, header = (struct ipc_rfs_nv_read_item_response_header *) buffer; header->confirm = confirm; - header->offset = (unsigned int) offset; + header->offset = offset; header->length = (unsigned int) size; if (data != NULL && size > 0) { |