writefile: remove SDNA last-hit, optimize DNA reconstruct
[blender.git] / source / blender / blenloader / intern / readfile.c
index 68cc060b0104df5867606ff0bebec1486a59b9e4..27a119a453267c52ee793c763316aa755bef1993 100644 (file)
@@ -1844,7 +1844,7 @@ void blo_add_library_pointer_map(ListBase *old_mainlist, FileData *fd)
 /* ********** END OLD POINTERS ****************** */
 /* ********** READ FILE ****************** */
 
-static void switch_endian_structs(struct SDNA *filesdna, BHead *bhead)
+static void switch_endian_structs(const struct SDNA *filesdna, BHead *bhead)
 {
        int blocksize, nblocks;
        char *data;