From 2cdecfab4e695e1f48e7c302f21c46035160cae2 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 26 Jul 2014 22:25:51 +0200 Subject: Offset is unsigned int Signed-off-by: Paul Kocialkowski --- include/rfs.h | 7 ++++--- include/samsung-ipc.h | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/rfs.h b/include/rfs.h index acfd018..daa3f61 100644 --- a/include/rfs.h +++ b/include/rfs.h @@ -70,11 +70,12 @@ int ipc_nv_data_backup_check(struct ipc_client *client); int ipc_nv_data_backup(struct ipc_client *client); int ipc_nv_data_restore(struct ipc_client *client); void *ipc_nv_data_load(struct ipc_client *client); -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); int ipc_nv_data_write(struct ipc_client *client, const void *data, size_t size, - size_t offset); + unsigned int offset); void *ipc_rfs_nv_read_item_response_setup(const void *data, size_t size, - size_t offset); + unsigned int offset); #endif diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h index 3aa6808..91300da 100644 --- a/include/samsung-ipc.h +++ b/include/samsung-ipc.h @@ -130,9 +130,9 @@ int ipc_rfs_message_setup(const struct ipc_rfs_header *header, struct ipc_message *message); void *file_data_read(const char *path, size_t size, size_t chunk_size, - size_t offset); + unsigned int offset); int file_data_write(const char *path, const void *data, size_t size, - size_t chunk_size, size_t offset); + size_t chunk_size, unsigned int offset); int network_iface_up(const char *iface, int domain, int type); int network_iface_down(const char *iface, int domain, int type); int sysfs_value_read(const char *path); -- cgit v1.1