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:
authorJoshua Leung <aligorith@gmail.com>2007-09-25 04:05:53 +0400
committerJoshua Leung <aligorith@gmail.com>2007-09-25 04:05:53 +0400
commite2c82e15b6f89dd3f6a88a73c9fa56ae33934433 (patch)
tree927409d751e7d0b24c08e531674c0b8fd73fa1c4 /source/blender/src/transform.c
parentf7cd7bc1b9e04372c60e7d4f942a7f43dcff7ba9 (diff)
This commit might fix some compile errors reported by jms on MSVC 8.0.
error C2036 : http://msdn2.microsoft.com/en-us/library/1kay26wa(vs.71).aspx
Diffstat (limited to 'source/blender/src/transform.c')
-rw-r--r--source/blender/src/transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index 366dfb7abe8..dae288293ab 100644
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -3510,7 +3510,7 @@ static void headerTimeSlide(TransInfo *t, float sval, char *str)
}
else {
float minx= *((float *)(t->customData));
- float maxx= *((float *)(t->customData + 1));
+ float maxx= *((float *)(t->customData) + 1);
float cval= t->fac;
float val;
@@ -3529,7 +3529,7 @@ static void applyTimeSlide(TransInfo *t, float sval)
int i;
float minx= *((float *)(t->customData));
- float maxx= *((float *)(t->customData + 1));
+ float maxx= *((float *)(t->customData) + 1);
/* set value for drawing black line */
if (t->spacetype == SPACE_ACTION) {