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:
authorCampbell Barton <ideasman42@gmail.com>2020-05-05 09:12:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-05 09:26:14 +0300
commitdb09b57d4eedd372a5a995c7393ad6356fa734af (patch)
treed2c49b75c197d5b92b31d3000439095ec9eb4e8e /source/blender/editors/space_node/node_select.c
parent65194dc71a39d76d611a66400fb202a2dbd1c249 (diff)
Cleanup: use int instead of short for lasso array length
There was no reason to use a short here, this was just a convention from existing code.
Diffstat (limited to 'source/blender/editors/space_node/node_select.c')
-rw-r--r--source/blender/editors/space_node/node_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c
index 547abaf8809..c55b5510caf 100644
--- a/source/blender/editors/space_node/node_select.c
+++ b/source/blender/editors/space_node/node_select.c
@@ -768,7 +768,7 @@ static int node_lasso_select_invoke(bContext *C, wmOperator *op, const wmEvent *
static bool do_lasso_select_node(bContext *C,
const int mcoords[][2],
- short mcoords_len,
+ const int mcoords_len,
eSelectOp sel_op)
{
SpaceNode *snode = CTX_wm_space_node(C);