From ef235b0f172832403c5eaa2b2d510dd6f0dd8a14 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 7 Oct 2020 15:24:05 +0200 Subject: Cleanup: improve integer types Reviewers: mont29, brecht Differential Revision: https://developer.blender.org/D9135 --- source/blender/blenkernel/BKE_idtype.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/BKE_idtype.h b/source/blender/blenkernel/BKE_idtype.h index 22af8ffd191..3caf15d1b50 100644 --- a/source/blender/blenkernel/BKE_idtype.h +++ b/source/blender/blenkernel/BKE_idtype.h @@ -114,14 +114,14 @@ typedef struct IDTypeInfo { * Bitflag matching id_code, used for filtering (e.g. in file browser), see DNA_ID.h's * FILTER_ID_XX enums. */ - int64_t id_filter; + uint64_t id_filter; /** * Define the position of this data-block type in the virtual list of all data in a Main that is * returned by `set_listbasepointers()`. * Very important, this has to be unique and below INDEX_ID_MAX, see DNA_ID.h. */ - short main_listbase_index; + int main_listbase_index; /** Memory size of a data-block of that type. */ size_t struct_size; @@ -134,7 +134,7 @@ typedef struct IDTypeInfo { const char *translation_context; /** Generic info flags about that data-block type. */ - int flags; + uint32_t flags; /* ********** ID management callbacks ********** */ -- cgit v1.2.3