From fd224048375bf7a9d970c226b7ac843458d5428e Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Wed, 1 Dec 2021 12:16:44 +0100 Subject: Cleanup: Use int8 type rather than char for buffer Indicates that this is just a buffer with an element size of 8 bit, not a displayable/printable string buffer. --- source/blender/makesdna/DNA_defaults.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_defaults.h') diff --git a/source/blender/makesdna/DNA_defaults.h b/source/blender/makesdna/DNA_defaults.h index 1549e33b267..6e986129143 100644 --- a/source/blender/makesdna/DNA_defaults.h +++ b/source/blender/makesdna/DNA_defaults.h @@ -36,7 +36,9 @@ extern "C" { extern const void *DNA_default_table[SDNA_TYPE_MAX]; -char *_DNA_struct_default_alloc_impl(const char *data_src, size_t size, const char *alloc_str); +uint8_t *_DNA_struct_default_alloc_impl(const uint8_t *data_src, + size_t size, + const char *alloc_str); /** * Wrap with macro that casts correctly. -- cgit v1.2.3