diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2008-03-15 17:41:47 +0300 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2008-03-15 17:41:47 +0300 |
commit | bb48a75c37e85fd5cc77ebd1c585f575932fb305 (patch) | |
tree | 7140e104c9ced1ac5793063d7fccb9ba492c9ee2 /source | |
parent | 4f553a59f7637661ce41cfdabfdf97c37517ad73 (diff) |
compiler warning cleanup
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c | 2 | ||||
-rw-r--r-- | source/blender/src/buttons_editing.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c b/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c index 662d8e8dde9..5e1803a6774 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c @@ -63,7 +63,7 @@ static float avgLogLum(CompBuf *src, float* auto_key, float* Lav, float* Cav) } -void static tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src) +static void tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src) { int x, y; float dr, dg, db, al, igm = (ntm->gamma==0.f) ? 1 : (1.f / ntm->gamma); diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c index edd9a2ff827..dc0a772d7da 100644 --- a/source/blender/src/buttons_editing.c +++ b/source/blender/src/buttons_editing.c @@ -2686,7 +2686,7 @@ static void load_buts_vfont(char *name) static void set_unicode_text_fs(char *file) { - if (file > 0) paste_unicodeText(file); + if (file) paste_unicodeText(file); } void do_fontbuts(unsigned short event) |