fix for crash opening the file selector twice with multiple windows open (when the...
[blender.git] / source / blender / blenloader / intern / readfile.c
index a01b8b58c82be134208b0f0c0b36ebdf7dd9e524..6f0400d5764f58a9cd2c5e2766916742bd7df674 100644 (file)
@@ -1738,7 +1738,7 @@ static void direct_link_fmodifiers(FileData *fd, ListBase *list)
                                data->coefficients= newdataadr(fd, data->coefficients);
 
                                if(fd->flags & FD_FLAGS_SWITCH_ENDIAN) {
-                                       unsigned a;
+                                       unsigned int a;
                                        for(a = 0; a < data->arraysize; a++)
                                                SWITCH_INT(data->coefficients[a]);
                                }