[Bf-blender-cvs] [032d417] fluid-mantaflow: fix for gzopen: added missing cast (void* -> gzfile)
Sebastián Barschkis
noreply at git.blender.org
Sat Jun 18 17:35:54 CEST 2016
Commit: 032d417da0b56f633df3f292abf80e72e83351f2
Author: Sebastián Barschkis
Date: Sat Jun 18 17:31:49 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB032d417da0b56f633df3f292abf80e72e83351f2
fix for gzopen: added missing cast (void* -> gzfile)
===================================================================
M intern/mantaflow/intern/SMOKE.cpp
===================================================================
diff --git a/intern/mantaflow/intern/SMOKE.cpp b/intern/mantaflow/intern/SMOKE.cpp
index db30833..5924d1e 100644
--- a/intern/mantaflow/intern/SMOKE.cpp
+++ b/intern/mantaflow/intern/SMOKE.cpp
@@ -701,7 +701,7 @@ void SMOKE::updateMeshData(const char* filename)
float fbuffer[3];
int ibuffer[3];
- gzf = BLI_gzopen(filename, "rb"); // do some compression
+ gzf = (gzFile) BLI_gzopen(filename, "rb1"); // do some compression
if (!gzf)
std::cout << "readBobj: unable to open file" << std::endl;
More information about the Bf-blender-cvs
mailing list