diff options
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r-- | source/blender/blenloader/BLO_undofile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h index f5527c13429..fc41a6e832f 100644 --- a/source/blender/blenloader/BLO_undofile.h +++ b/source/blender/blenloader/BLO_undofile.h @@ -24,14 +24,14 @@ * \ingroup blenloader */ -struct Scene; struct GHash; +struct Scene; typedef struct { void *next, *prev; const char *buf; /** Size in bytes. */ - unsigned int size; + size_t size; /** When true, this chunk doesn't own the memory, it's shared with a previous #MemFileChunk */ bool is_identical; /** When true, this chunk is also identical to the one in the next step (used by undo code to @@ -72,7 +72,7 @@ void BLO_memfile_write_init(MemFileWriteData *mem_data, MemFile *reference_memfile); void BLO_memfile_write_finalize(MemFileWriteData *mem_data); -void BLO_memfile_chunk_add(MemFileWriteData *mem_data, const char *buf, unsigned int size); +void BLO_memfile_chunk_add(MemFileWriteData *mem_data, const char *buf, size_t size); /* exports */ extern void BLO_memfile_free(MemFile *memfile); |