diff options
Diffstat (limited to 'src/shared/Util.h')
-rw-r--r-- | src/shared/Util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/Util.h b/src/shared/Util.h index a8b9df8f29a..eb59392497e 100644 --- a/src/shared/Util.h +++ b/src/shared/Util.h @@ -348,7 +348,7 @@ public: template<class type> inline bool operator < (type & right) { - for (uint8 i=3; i>0; i--) + for (uint8 i=3; i > 0; --i) { if (part[i-1]<right.part[i-1]) return 1; @@ -361,7 +361,7 @@ public: template<class type> inline bool operator < (type & right) const { - for (uint8 i=3; i>0; i--) + for (uint8 i = 3; i > 0; --i) { if (part[i-1]<right.part[i-1]) return 1; |