diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-17 14:46:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-17 14:46:02 +0400 |
commit | 02f707e9dac91d60f75ebd0ef48200cfb32c0d7d (patch) | |
tree | 99dcbd818d0c435108980b71faa18abdbcbeb2b2 /source/blender/python/intern/bpy_rna.c | |
parent | 1fc345cd326d10ceceb60d61bfd5c386f79b1ee5 (diff) |
minor mathutils code cleanup - use mathutils callbacks as unsigned chars everywhere.
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 80cf3048a8a..cf3cd64c463 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -372,7 +372,7 @@ static PyObject *pyrna_prop_array_subscript_slice(BPy_PropertyArrayRNA *self, Po static short pyrna_rotation_euler_order_get(PointerRNA *ptr, PropertyRNA **prop_eul_order, short order_fallback); /* bpyrna vector/euler/quat callbacks */ -static int mathutils_rna_array_cb_index = -1; /* index for our callbacks */ +static unsigned char mathutils_rna_array_cb_index = -1; /* index for our callbacks */ /* subtype not used much yet */ #define MATHUTILS_CB_SUBTYPE_EUL 0 @@ -517,7 +517,7 @@ static Mathutils_Callback mathutils_rna_array_cb = { /* bpyrna matrix callbacks */ -static int mathutils_rna_matrix_cb_index = -1; /* index for our callbacks */ +static unsigned char mathutils_rna_matrix_cb_index = -1; /* index for our callbacks */ static int mathutils_rna_matrix_get(BaseMathObject *bmo, int UNUSED(subtype)) { |