[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43537] branches/asset-browser/source/ blender/blenlib/intern/storage.c: compile fix for non-windows platforms

Andrea Weikert elubie at gmx.net
Thu Jan 19 20:01:38 CET 2012


Revision: 43537
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43537
Author:   elubie
Date:     2012-01-19 19:01:37 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
compile fix for non-windows platforms
- missed changed in #ifdef'd part

Modified Paths:
--------------
    branches/asset-browser/source/blender/blenlib/intern/storage.c

Modified: branches/asset-browser/source/blender/blenlib/intern/storage.c
===================================================================
--- branches/asset-browser/source/blender/blenlib/intern/storage.c	2012-01-19 18:35:08 UTC (rev 43536)
+++ branches/asset-browser/source/blender/blenlib/intern/storage.c	2012-01-19 19:01:37 UTC (rev 43537)
@@ -238,9 +238,9 @@
 #if (defined(WIN32) || defined(WIN64)) && (_MSC_VER>=1500)
 					_stat64(dlink->name,&(*files)[actnum].s);
 #elif defined(__MINGW32__)
-					_stati64(dlink->name,&files[actnum].s);
+					_stati64(dlink->name,&(*files)[actnum].s);
 #else
-					stat(dlink->name,&files[actnum].s);
+					stat(dlink->name,&(*files)[actnum].s);
 #endif
 					(*files)[actnum].type=(*files)[actnum].s.st_mode;
 					(*files)[actnum].flags = 0;



More information about the Bf-blender-cvs mailing list