diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-10-26 16:00:29 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-10-26 16:02:07 +0300 |
commit | 41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd (patch) | |
tree | b29207e44aa8dcc10ef2deb51ac1514fb934c420 /src/ckutil.c | |
parent | a6b2b4b2a4095d2f95419df986378e54432c2d71 (diff) | |
download | ck-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.c | 2 |
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); |