diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-14 17:54:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-14 17:54:00 +0400 |
commit | ff26474a46fc9a064d01711ec7f80111dca8d347 (patch) | |
tree | b797ef68fae6566bbd84a5da94f33446b5976544 /source/blender/editors/space_node | |
parent | a7a79322bfacd5bbbf7f931143275557ea061c83 (diff) |
was casting to short for int args.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index 9e59b3372cb..ae6c09b0339 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -2647,7 +2647,7 @@ static int cut_links_exec(bContext *C, wmOperator *op) float loc[2]; RNA_float_get_array(&itemptr, "loc", loc); - UI_view2d_region_to_view(&ar->v2d, (short)loc[0], (short)loc[1], + UI_view2d_region_to_view(&ar->v2d, (int)loc[0], (int)loc[1], &mcoords[i][0], &mcoords[i][1]); i++; if (i>= 256) break; |