diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-06 20:56:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-06 20:56:28 +0400 |
commit | 70e1b8d1d2959d5a9b17fc1bde6688e60c8a9895 (patch) | |
tree | 3e8348645effac533d4ece6157bcc8d3155418cd /source/blender/modifiers/intern | |
parent | 84aa1dd31c0a0a6fcf0d8febde9f8edc4426703a (diff) |
fix for error building on big-endian.
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_meshcache_pc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshcache_pc2.c b/source/blender/modifiers/intern/MOD_meshcache_pc2.c index 1ecb347d174..b20f62a8e77 100644 --- a/source/blender/modifiers/intern/MOD_meshcache_pc2.c +++ b/source/blender/modifiers/intern/MOD_meshcache_pc2.c @@ -62,7 +62,7 @@ static bool meshcache_read_pc2_head(FILE *fp, const int verts_tot, } #ifdef __BIG_ENDIAN__ - BLI_endian_switch_int32_array(&pc2_head->huh, (sizeof(*pc2_head) - sizeof(pc2_head->header)) / sizeof(int)); + BLI_endian_switch_int32_array(&pc2_head->file_version, (sizeof(*pc2_head) - sizeof(pc2_head->header)) / sizeof(int)); #endif if (pc2_head->verts_tot != verts_tot) { |