summaryrefslogtreecommitdiffstats
path: root/resources/CL/stdint.h
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-09-29 21:50:26 +0200
committerMichael Bien <[email protected]>2009-09-29 21:50:26 +0200
commit5db5f6ac97894bcb9804e4bfcc4607cfdae637a6 (patch)
tree4e29882d541964f102d0343fd5a4819236540cf5 /resources/CL/stdint.h
parent842f684ed4e900fbc54dd00e92c58a0fe2d8ce04 (diff)
fixed stdinit header, modified test to print out CL platform info.
Diffstat (limited to 'resources/CL/stdint.h')
-rw-r--r--resources/CL/stdint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/CL/stdint.h b/resources/CL/stdint.h
index a9dd63a4..8fd0d29f 100644
--- a/resources/CL/stdint.h
+++ b/resources/CL/stdint.h
@@ -15,10 +15,10 @@
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
- typedef int intptr_t;
- typedef unsigned int uintptr_t;
+ typedef long intptr_t;
+ typedef unsigned long uintptr_t;
- typedef unsigned int size_t;
+ typedef unsigned long size_t;
// FIXME workaround prevent re-defininition of int16_t in types.h
# define __int8_t_defined