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>2015-01-13 21:10:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-13 21:11:20 +0300
commitb09563ca8c42f46233bd104e30812e4fc7322ba3 (patch)
tree49d304ba915aac88b69ab367f98eb71af36f2662 /source/blender/editors/transform
parentef80914c99fb94a4bc7e02a1f808eb0162577fec (diff)
Cleanup: fixes for building with recent clang
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_conversions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 8d6aae46567..5dc34d2a31a 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -4751,7 +4751,7 @@ static void createTransSeqData(bContext *C, TransInfo *t)
TransData2D *td2d = NULL;
TransDataSeq *tdsq = NULL;
TransSeq *ts = NULL;
- float xmouse, ymouse;
+ int xmouse;
int count = 0;
@@ -4762,7 +4762,7 @@ static void createTransSeqData(bContext *C, TransInfo *t)
t->customFree = freeSeqData;
- UI_view2d_region_to_view(v2d, t->imval[0], t->imval[1], &xmouse, &ymouse);
+ xmouse = (int)UI_view2d_region_to_view_x(v2d, t->imval[0]);
/* which side of the current frame should be allowed */
if (t->mode == TFM_TIME_EXTEND) {