diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-17 23:51:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-17 23:51:40 +0400 |
commit | 149c52859b798230335f9316893891af057191aa (patch) | |
tree | 898692b2cb3fda8e620da17c455242e9be289eff /source/blender/blenloader/BLO_undofile.h | |
parent | 830013aabe3e01b5bc168b93ce7a5074c7ce21ab (diff) |
code cleanup: use const args for writing files.
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r-- | source/blender/blenloader/BLO_undofile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h index f3c16e07c62..f716b47ea2e 100644 --- a/source/blender/blenloader/BLO_undofile.h +++ b/source/blender/blenloader/BLO_undofile.h @@ -47,7 +47,7 @@ typedef struct MemFile { } MemFile; /* actually only used writefile.c */ -extern void add_memfilechunk(MemFile *compare, MemFile *current, char *buf, unsigned int size); +extern void add_memfilechunk(MemFile *compare, MemFile *current, const char *buf, unsigned int size); /* exports */ extern void BLO_free_memfile(MemFile *memfile); |