Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-10-07 16:24:05 +0300
committerJacques Lucke <jacques@blender.org>2020-10-07 16:24:12 +0300
commitef235b0f172832403c5eaa2b2d510dd6f0dd8a14 (patch)
tree23bd499e0d5a2c8e8778cbfb13b24f9227b0ce77 /source/blender/blenkernel/BKE_idtype.h
parent1780f64dc36f7a0f2d5bc51a6f9a619a4eb8b051 (diff)
Cleanup: improve integer types
Reviewers: mont29, brecht Differential Revision: https://developer.blender.org/D9135
Diffstat (limited to 'source/blender/blenkernel/BKE_idtype.h')
-rw-r--r--source/blender/blenkernel/BKE_idtype.h6
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 ********** */