summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-02-28 10:14:18 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-02-28 10:14:18 +0100
commit66d66b31dc696a8ac76a23b819eae96cc7b68f65 (patch)
tree3118f27c4670f755be4eedf55d473ff45494730b /tools.h
parent9c3ce0048a4572e602dc9f23c36940993db4959b (diff)
downloadvdr-66d66b31dc696a8ac76a23b819eae96cc7b68f65.tar.gz
vdr-66d66b31dc696a8ac76a23b819eae96cc7b68f65.tar.bz2
Fixed the CompareInts() function
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index ffbd6825..d65847dc 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 4.14 2018/02/28 10:06:47 kls Exp $
+ * $Id: tools.h 4.15 2018/02/28 10:13:40 kls Exp $
*/
#ifndef __TOOLS_H
@@ -774,7 +774,7 @@ public:
inline int CompareInts(const void *a, const void *b)
{
- return *(const int *)a > *(const int *)b;
+ return *(const int *)a - *(const int *)b;
}
inline int CompareStrings(const void *a, const void *b)