diff options
Diffstat (limited to 'source/blender/blenloader/BLO_undofile.h')
-rw-r--r-- | source/blender/blenloader/BLO_undofile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/BLO_undofile.h b/source/blender/blenloader/BLO_undofile.h index f5527c13429..17b21096bf3 100644 --- a/source/blender/blenloader/BLO_undofile.h +++ b/source/blender/blenloader/BLO_undofile.h @@ -31,7 +31,7 @@ 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); |