diff options
Diffstat (limited to 'source/blender/readblenfile/intern')
-rw-r--r-- | source/blender/readblenfile/intern/BLO_readblenfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/readblenfile/intern/BLO_readblenfile.c b/source/blender/readblenfile/intern/BLO_readblenfile.c index a988b269725..40a991ad702 100644 --- a/source/blender/readblenfile/intern/BLO_readblenfile.c +++ b/source/blender/readblenfile/intern/BLO_readblenfile.c @@ -68,7 +68,7 @@ char *headerMagic = "BLENDFI"; */ void BLO_setversionnumber(char array[4], int version) { - memset(array, 0, sizeof(array)); + memset(array, 0, sizeof(char)*4); array[1] = version / 100; array[2] = version % 100; |