summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gebetsroither <gebi@mgeb.org>2008-03-18 15:02:36 +0000
committerMichael Gebetsroither <gebi@mgeb.org>2008-03-18 15:02:36 +0000
commitaa02a07c0cdb52ee739967a35801772b3dc5f192 (patch)
tree5327a3cb9287107471be466b8330adb577816410
parentadded anyway as eps - vector graphics (diff)
datatypes.h: correct datatypes
-rw-r--r--datatypes.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/datatypes.h b/datatypes.h
index 481c603..f9d35d7 100644
--- a/datatypes.h
+++ b/datatypes.h
@@ -31,17 +31,12 @@
#ifndef _DATATYPES_H_
#define _DATATYPES_H_
-typedef signed char int8_t;
-typedef unsigned char u_int8_t;
+#include<tr1/cstdint>
-typedef signed short int16;
-typedef unsigned short u_int16_t;
-
-typedef signed int int32;
-typedef unsigned int u_int32_t;
-
-typedef signed long long int64_t;
-typedef unsigned long long u_int64_t;
+typedef uint8_t u_int8_t;
+typedef uint16_t u_int16_t;
+typedef uint32_t u_int32_t;
+typedef uint64_t u_int64_t;
typedef u_int32_t window_size_t;