fix for building on windows, clear some warnings too
[blender.git] / source / blender / blenlib / intern / storage.c
index f088c5e278723492c8d7c70db6e858df5e1d3f05..8be86a4b4072d84e1114e1055aa3db0e666e3e56 100644 (file)
@@ -488,7 +488,7 @@ LinkNode *BLI_read_file_as_lines(const char *name)
 
        buf= MEM_mallocN(size, "file_as_lines");
        if (buf) {
-               int i, last= 0;
+               size_t i, last= 0;
                
                        /* 
                         * size = because on win32 reading