diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-18 12:00:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-18 12:00:19 +0400 |
commit | 8e641348f970f64150f3d4ec3665f967ed67efc6 (patch) | |
tree | 9ae466b94e2a405c6e681e6e10161537793be80e /source/blender/compositor | |
parent | 3094a02e6ef272f108a633c18981af593d038ee2 (diff) |
fix own error BLI_rctf_cent_x/y were incorrectly returning int's, also quiet some warnings.
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/intern/COM_NodeBase.h | 2 | ||||
-rw-r--r-- | source/blender/compositor/intern/COM_NodeOperation.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_NodeBase.h b/source/blender/compositor/intern/COM_NodeBase.h index b55e444be80..64d669b5e9a 100644 --- a/source/blender/compositor/intern/COM_NodeBase.h +++ b/source/blender/compositor/intern/COM_NodeBase.h @@ -97,7 +97,7 @@ public: * @return [true:false] * @see NodeOperation */ - virtual const int isOperation() const { return false; } + virtual const bool isOperation() const { return false; } /** * @brief check if this is an input node diff --git a/source/blender/compositor/intern/COM_NodeOperation.h b/source/blender/compositor/intern/COM_NodeOperation.h index 93a19529d34..dfa22a29e41 100644 --- a/source/blender/compositor/intern/COM_NodeOperation.h +++ b/source/blender/compositor/intern/COM_NodeOperation.h @@ -88,7 +88,7 @@ public: * @return [true:false] * @see NodeBase */ - const int isOperation() const { return true; } + const bool isOperation() const { return true; } /** * @brief determine the resolution of this node |