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/editsima.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/editsima.c')
-rw-r--r-- | source/blender/src/editsima.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index cff2546e6ee..fc6506579ab 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -945,7 +945,7 @@ static int msel_hit(float *limit, unsigned int *hitarray, unsigned int vertexid, return 0; } -void find_nearest_tface(TFace **nearesttf, MFace **nearestmf) +static void find_nearest_tface(TFace **nearesttf, MFace **nearestmf) { Mesh *me; TFace *tf; @@ -987,7 +987,7 @@ void find_nearest_tface(TFace **nearesttf, MFace **nearestmf) } } -int nearest_uv_between(TFace *tf, int nverts, int id, short *mval, short *uval) +static int nearest_uv_between(TFace *tf, int nverts, int id, short *mval, short *uval) { float m[3], v1[3], v2[3], c1, c2; int id1, id2; @@ -1014,7 +1014,7 @@ int nearest_uv_between(TFace *tf, int nverts, int id, short *mval, short *uval) return (c1*c2 >= 0.0f); } -void find_nearest_uv(TFace **nearesttf, unsigned int *nearestv, int *nearestuv) +static void find_nearest_uv(TFace **nearesttf, unsigned int *nearestv, int *nearestuv) { Mesh *me; TFace *tf; |