Revision: 23226
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23226
Author:   genscher
Date:     2009-09-14 18:46:34 +0200 (Mon, 14 Sep 2009)

Log Message:
-----------
Smoke:
* Fixing some gcc warnings

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/pointcache.c

Modified: trunk/blender/source/blender/blenkernel/intern/pointcache.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/pointcache.c 2009-09-14 
16:43:13 UTC (rev 23225)
+++ trunk/blender/source/blender/blenkernel/intern/pointcache.c 2009-09-14 
16:46:34 UTC (rev 23226)
@@ -570,9 +570,9 @@
        SmokeDomainSettings *sds = smd->domain;
        
        if(sds->wt) {
-               unsigned int res_big_array[3];
-               unsigned int res_big;
-               unsigned int res = sds->res[0]*sds->res[1]*sds->res[2];
+               int res_big_array[3];
+               int res_big;
+               int res = sds->res[0]*sds->res[1]*sds->res[2];
                float *dens, *densold, *tcu, *tcv, *tcw;
                unsigned int in_len = sizeof(float)*(unsigned int)res;
                unsigned int in_len_big;
@@ -678,8 +678,8 @@
        SmokeDomainSettings *sds = smd->domain;
        
        if(sds->fluid) {
-               unsigned int res = sds->res[0]*sds->res[1]*sds->res[2];
-               unsigned int res_big, res_big_array[3];
+               int res = sds->res[0]*sds->res[1]*sds->res[2];
+               int res_big, res_big_array[3];
                float *dens, *densold, *tcu, *tcv, *tcw;
                unsigned int out_len = sizeof(float)*(unsigned int)res;
                unsigned int out_len_big;


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to