diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-06-04 20:22:50 +0400 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-06-04 20:22:50 +0400 |
commit | f38e0686d909aa0d2882c197aeff59eeefa17081 (patch) | |
tree | 7f2d4a2a3324fa915427bdec590a9654366ed17e /source/blender/src/transform.c | |
parent | 0f82931e5fe89ed245a03a4608e524c2423c0d64 (diff) |
new round of warning fixes. we are now down to 24 with Xcode on blender
alone with the following flags :
-Wall -Wno-char-subscripts -Wno-missing-braces.
the only one still worrying me is in rand.c line 57 :
rand.c:57: integer constant is too large for "long" type
but i have no clue about how correct cross-compiler and 32/64 bits friendly
see also my mail to commiter list for signed/unsigned issues
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 74029823204..bc26252007a 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -221,7 +221,7 @@ void checkFirstTime() { memset(&Trans, 0, sizeof(TransInfo)); } -void transformEvent(unsigned short event, short val) { +static void transformEvent(unsigned short event, short val) { float mati[3][3]; char cmode = constraintModeToChar(&Trans); Mat3One(mati); @@ -1052,7 +1052,7 @@ static void TransMat3ToSize( float mat[][3], float smat[][3], float *size) } -void ElementResize(TransInfo *t, TransData *td, float mat[3][3]) { +static void ElementResize(TransInfo *t, TransData *td, float mat[3][3]) { float tmat[3][3], smat[3][3], center[3]; float vec[3]; |