diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-07 16:24:05 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-07 16:24:12 +0300 |
commit | ef235b0f172832403c5eaa2b2d510dd6f0dd8a14 (patch) | |
tree | 23bd499e0d5a2c8e8778cbfb13b24f9227b0ce77 | |
parent | 1780f64dc36f7a0f2d5bc51a6f9a619a4eb8b051 (diff) |
Cleanup: improve integer types
Reviewers: mont29, brecht
Differential Revision: https://developer.blender.org/D9135
-rw-r--r-- | source/blender/blenkernel/BKE_idtype.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 ********** */ |