summaryrefslogtreecommitdiff
path: root/src/im_converttype.cpp
diff options
context:
space:
mode:
authorscuri <scuri>2009-09-29 21:26:38 +0000
committerscuri <scuri>2009-09-29 21:26:38 +0000
commit9a5e93213e08601a58725f44035ac622fb68e849 (patch)
treefd8f644b149637a79c4ab73b5eef141fce1b0ac2 /src/im_converttype.cpp
parentd2c116c0adc98b18124b6c3cbf2b839d5719444f (diff)
*** empty log message ***
Diffstat (limited to 'src/im_converttype.cpp')
-rw-r--r--src/im_converttype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im_converttype.cpp b/src/im_converttype.cpp
index 0c3d801..ee69b6f 100644
--- a/src/im_converttype.cpp
+++ b/src/im_converttype.cpp
@@ -2,7 +2,7 @@
* \brief Image Data Type Conversion
*
* See Copyright Notice in im_lib.h
- * $Id: im_converttype.cpp,v 1.2 2008/11/18 20:38:21 scuri Exp $
+ * $Id: im_converttype.cpp,v 1.3 2009/09/29 21:30:57 scuri Exp $
*/
#include "im.h"
@@ -72,7 +72,7 @@ inline int iIntMax()
template <class T>
inline T iAbs(const T& v)
{
- if (v <= 0)
+ if (v < 0)
return -1*v;
return v;
}