diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
commit | c78e44cdc563853c250da78ee78ba622c39126b2 (patch) | |
tree | fb116af7e1edd94ef96ae883bea727be372e2bd2 /source/blender/imbuf/intern/anim5.c | |
parent | 77d44e88e95d86661fc8b29db923083ec747cf9d (diff) |
big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors
Diffstat (limited to 'source/blender/imbuf/intern/anim5.c')
-rw-r--r-- | source/blender/imbuf/intern/anim5.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/anim5.c b/source/blender/imbuf/intern/anim5.c index aa2a5cf6469..9f87ba09f5f 100644 --- a/source/blender/imbuf/intern/anim5.c +++ b/source/blender/imbuf/intern/anim5.c @@ -47,6 +47,7 @@ #include "IMB_anim.h" +#include "IMB_anim5.h" typedef struct Anhd{ unsigned char type, mask; @@ -235,7 +236,7 @@ static void anim5decode(struct ImBuf * ibuf, uchar * dlta) { do{ uchar noop; - if (noop = *(point++)){ + if ( (noop = *(point++)) ){ uchar *plane; uchar code; @@ -308,7 +309,7 @@ static void anim5xordecode(struct ImBuf * ibuf, uchar * dlta) { do{ uchar noop; - if (noop = *(point++)){ + if ( (noop = *(point++)) ){ uchar *plane; uchar code; |