diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-04 03:09:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-04 03:09:18 +0300 |
commit | 66c3eb36d274597b08930215bfc54094f1bcc14a (patch) | |
tree | 937a1b6b96b44313c9363191e34d4dc345ff7a57 /source/blender/editors/interface/interface_intern.h | |
parent | db03be60ec227f42bb930e9118d2ecb5f4ebbb43 (diff) |
Cleanup: use typed unsigned ints
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 11691fd8365..671bd07b69e 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -242,7 +242,7 @@ struct uiBut { */ float a2; - unsigned char col[4]; + uchar col[4]; uiButHandleFunc func; void *func_arg1; @@ -282,7 +282,7 @@ struct uiBut { char dt; /* drawtype: UI_EMBOSS, UI_EMBOSS_NONE ... etc, copied from the block */ signed char pie_dir; /* direction in a pie menu, used for collision detection (RadialDirection) */ char changed; /* could be made into a single flag */ - unsigned char unit_type; /* so buttons can support unit systems which are not RNA */ + uchar unit_type; /* so buttons can support unit systems which are not RNA */ short modifier_key; short iconadd; @@ -306,7 +306,7 @@ struct uiBut { struct wmOperatorType *optype; struct PointerRNA *opptr; short opcontext; - unsigned char menu_key; /* 'a'-'z', always lower case */ + uchar menu_key; /* 'a'-'z', always lower case */ /* Draggable data, type is WM_DRAG_... */ char dragtype; @@ -377,7 +377,7 @@ struct uiBlock { rctf rect; float aspect; - unsigned int puphash; /* popup menu hash for memory */ + uint puphash; /* popup menu hash for memory */ uiButHandleFunc func; void *func_arg1; |