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:
authorCampbell Barton <ideasman42@gmail.com>2011-04-03 14:04:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-03 14:04:16 +0400
commit0298d223cc1156df3a32fbb3a97dccf5ddb5ad02 (patch)
tree437798c6e1ae0541bd7169072d2c5a5e276a40c7 /source/blender/blenlib
parent744a3b9cb26a734487264eec3e9e6dacb28daa73 (diff)
quiet various warnings, also disable -Wdouble-promotion with cmake since it gives warnings with variable length args.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_utildefines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index bee5c031fc9..a376d048412 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -206,7 +206,7 @@
# ifdef __GNUC__ /* just want to check if __func__ is available */
# define BLI_assert(a) \
do { \
- if (0 == (a)) { \
+ if (!(a)) { \
fprintf(stderr, \
"BLI_assert failed: %s, %s(), %d at \'%s\'\n", \
__FILE__, __func__, __LINE__, STRINGIFY(a)); \