apply first part of patch #6994 - elbeem_warning_patch.diff
[blender.git] / intern / elbeem / intern / solver_interface.cpp
index b50e409bce5593b84d9baeb308987928abc29737..2539556617bb4752e6d81b4f07e4c3e4ba92ad25 100644 (file)
@@ -187,7 +187,7 @@ void calculateMemreqEstimate( int resx,int resy,int resz,
        // cpdata init check missing...
 
        double memd = memCnt;
-       char *sizeStr = "";
+       const char *sizeStr = "";
        const double sfac = 1024.0;
        if(memd>sfac){ memd /= sfac; sizeStr="KB"; }
        if(memd>sfac){ memd /= sfac; sizeStr="MB"; }