summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-21 11:29:16 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-21 11:29:16 +0000
commit8d80962ddc3a07cf399e0f6e366771f5d3aef63b (patch)
tree3ff2d5d82c7386c1fa2875581a6bdf543a6518d1 /libstdc++-v3
parent261c3b228eb759b14b638b9e7ecd2794b59923ea (diff)
downloadgcc-8d80962ddc3a07cf399e0f6e366771f5d3aef63b.tar.gz
Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/bits/std_cmath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/bits/std_cmath.h b/libstdc++-v3/bits/std_cmath.h
index dd21e4fa19f..d7df14b2198 100644
--- a/libstdc++-v3/bits/std_cmath.h
+++ b/libstdc++-v3/bits/std_cmath.h
@@ -48,10 +48,10 @@ namespace std {
//
inline int abs(int i)
- { return i < 0 ? i : -i; }
+ { return i > 0 ? i : -i; }
inline long abs(long i)
- { return i < 0 ? i : -i; }
+ { return i > 0 ? i : -i; }
//
// float