aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/utils.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-26 22:25:51 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-26 22:25:51 +0200
commit2cdecfab4e695e1f48e7c302f21c46035160cae2 (patch)
tree9421f85e6ad529d392818887e4bc99e786f0cf5a /samsung-ipc/utils.c
parent74e32c068d7e95275a0d237ecaf9f057e5d6f064 (diff)
downloadexternal_libsamsung-ipc-2cdecfab4e695e1f48e7c302f21c46035160cae2.zip
external_libsamsung-ipc-2cdecfab4e695e1f48e7c302f21c46035160cae2.tar.gz
external_libsamsung-ipc-2cdecfab4e695e1f48e7c302f21c46035160cae2.tar.bz2
Offset is unsigned int
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/utils.c')
-rw-r--r--samsung-ipc/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samsung-ipc/utils.c b/samsung-ipc/utils.c
index d0cc059..7bc7859 100644
--- a/samsung-ipc/utils.c
+++ b/samsung-ipc/utils.c
@@ -33,7 +33,7 @@
void *file_data_read(const char *path, size_t size, size_t chunk_size,
- size_t offset)
+ unsigned int offset)
{
void *data = NULL;
int fd = -1;
@@ -83,7 +83,7 @@ complete:
}
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 fd = -1;
size_t count;