diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-14 15:02:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-14 15:03:09 +0400 |
commit | 80e21f6fc58c40a51bc9ea55162ee55001bc3efc (patch) | |
tree | bbc9323ef04603a99a333fd599f501aeb50097b9 /source/blender/blenlib | |
parent | 43c478a36abeebd271c58fdc86115045f701a863 (diff) |
Code clearnup: warnings
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/math_vector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c index 54615a5264d..098272c9bc0 100644 --- a/source/blender/blenlib/intern/math_vector.c +++ b/source/blender/blenlib/intern/math_vector.c @@ -119,7 +119,7 @@ void interp_v3_v3v3_uchar(char unsigned target[3], const unsigned char a[3], con } void interp_v3_v3v3_char(char target[3], const char a[3], const char b[3], const float t) { - interp_v3_v3v3_char((char *)target, (const char *)a, (const char *)b, t); + interp_v3_v3v3_uchar((unsigned char *)target, (const unsigned char *)a, (const unsigned char *)b, t); } void interp_v4_v4v4_uchar(char unsigned target[4], const unsigned char a[4], const unsigned char b[4], const float t) @@ -133,7 +133,7 @@ void interp_v4_v4v4_uchar(char unsigned target[4], const unsigned char a[4], con } void interp_v4_v4v4_char(char target[4], const char a[4], const char b[4], const float t) { - interp_v4_v4v4_char((char *)target, (const char *)a, (const char *)b, t); + interp_v4_v4v4_uchar((unsigned char *)target, (const unsigned char *)a, (const unsigned char *)b, t); } void mid_v3_v3v3(float v[3], const float v1[3], const float v2[3]) |