diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-12-06 01:32:30 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-12-06 01:32:59 +0400 |
commit | 4b9fb83e674e36acf7d241e60367a2b9d8821a1c (patch) | |
tree | 23420d4b2effec1bd1984a261f935b58b8760c8b /source/blender/blenlib/intern/math_color.c | |
parent | 8a5b07c46e575d63827b73c3e27c0193fa7248ce (diff) |
Appease grumpy ole gcc 4.7 of MinGW64 (possibly gcc 4.6 of MinGW32 too?)
that cannot convert float to char without false warnings that are turned
into errors with strict flags. I expect that any real conversion
warnings can be caught on linux.
Diffstat (limited to 'source/blender/blenlib/intern/math_color.c')
-rw-r--r-- | source/blender/blenlib/intern/math_color.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_color.c b/source/blender/blenlib/intern/math_color.c index f57ae96e933..4c1620fe4bb 100644 --- a/source/blender/blenlib/intern/math_color.c +++ b/source/blender/blenlib/intern/math_color.c @@ -35,7 +35,9 @@ #include "BLI_rand.h" #include "BLI_utildefines.h" +#ifndef __MINGW32__ #include "BLI_strict_flags.h" +#endif void hsv_to_rgb(float h, float s, float v, float *r, float *g, float *b) { |