You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/23 13:39:33 UTC

incubator-corinthia git commit: Corrected buildbot warning.

Repository: incubator-corinthia
Updated Branches:
  refs/heads/master e1dc6c9ab -> 8943c158a


Corrected buildbot warning.

Implicit from non const pointer to const pointer, does not produce
a warning in windows but it does with gcc.


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/8943c158
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/8943c158
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/8943c158

Branch: refs/heads/master
Commit: 8943c158ab89d61016c1e111d62cb7bcf43d67b7
Parents: e1dc6c9
Author: jani <ja...@apache.org>
Authored: Sun Aug 23 13:38:15 2015 +0200
Committer: jani <ja...@apache.org>
Committed: Sun Aug 23 13:38:15 2015 +0200

----------------------------------------------------------------------
 DocFormats/platform/src/Wrapper_zip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8943c158/DocFormats/platform/src/Wrapper_zip.c
----------------------------------------------------------------------
diff --git a/DocFormats/platform/src/Wrapper_zip.c b/DocFormats/platform/src/Wrapper_zip.c
index 3141a4a..f2e5033 100644
--- a/DocFormats/platform/src/Wrapper_zip.c
+++ b/DocFormats/platform/src/Wrapper_zip.c
@@ -356,7 +356,7 @@ DFextZipDirEntryP DFextZipWriteFile(DFextZipHandleP zipHandle, const char *fileN
         return NULL;
 
     // deflate buffer
-    strm.next_in   = buf;
+    strm.next_in   = (Bytef *)buf;
     strm.avail_in  = len;
     strm.avail_out = deflateBound(&strm, len);
     strm.next_out  = (Bytef *)xmalloc(strm.avail_out);