summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-12-02 11:30:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-12-02 11:30:19 +0100
commit19f39258f0b3131345c1b0b3aa1a5c03f88bc33a (patch)
treee031524a37d3ea229d11b33766e4233567f16412 /tools.h
parent661da094e14b6ab76eae98a5eeb2c3ac6c914df4 (diff)
downloadvdr-19f39258f0b3131345c1b0b3aa1a5c03f88bc33a.tar.gz
vdr-19f39258f0b3131345c1b0b3aa1a5c03f88bc33a.tar.bz2
Replaced 'unsigned long long' with 'uint32_t' and 'uint64' with 'uint64_t' to avoid problems on 64-bit machines
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools.h b/tools.h
index 0d794140..b1313ede 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 1.93 2006/04/16 10:40:45 kls Exp $
+ * $Id: tools.h 1.94 2006/12/02 11:14:14 kls Exp $
*/
#ifndef __TOOLS_H
@@ -15,6 +15,7 @@
#include <fcntl.h>
#include <poll.h>
#include <stddef.h>
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <syslog.h>
@@ -22,7 +23,6 @@
#include <sys/types.h>
typedef unsigned char uchar;
-typedef unsigned long long int uint64;
extern int SysLogLevel;
@@ -159,13 +159,13 @@ public:
class cTimeMs {
private:
- uint64 begin;
+ uint64_t begin;
public:
cTimeMs(void);
- static uint64 Now(void);
+ static uint64_t Now(void);
void Set(int Ms = 0);
bool TimedOut(void);
- uint64 Elapsed(void);
+ uint64_t Elapsed(void);
};
class cReadLine {