aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckutil.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-26 16:00:29 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-26 16:02:07 +0300
commit41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd (patch)
treeb29207e44aa8dcc10ef2deb51ac1514fb934c420 /src/ckutil.c
parenta6b2b4b2a4095d2f95419df986378e54432c2d71 (diff)
downloadck-41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd.tar.gz
ck-41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd.tar.bz2
ck-41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd.zip
Confort to pedantic std-c99 and update readme
Diffstat (limited to 'src/ckutil.c')
-rw-r--r--src/ckutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ckutil.c b/src/ckutil.c
index b852f72..84eb43d 100644
--- a/src/ckutil.c
+++ b/src/ckutil.c
@@ -97,7 +97,7 @@ int util_move_file(const char *path, const char* dest) {
struct stat st, newSt;
fstat(srcFile, &st);
- sendfile(destFile, srcFile, NULL, st.st_size);
+ sendfile(destFile, srcFile, NULL, (size_t)st.st_size);
close(srcFile);
fchmod(destFile, st.st_mode);