Unify uint64_t among 32-bit and 64-bit platforms

On both 32-bit and 64-bit platforms, 'uint64_t' can be defined as
'unsigned long long', which is the type expected by the %llx
format-string specifier. By unifying the type definitions, we resolve
warnings about unmatching type specifiers. This patch also removes
redundant words from the typedefs.
This commit is contained in:
Norman Feske 2012-08-15 16:07:19 +02:00
parent 6899dd3d0a
commit d3e8328089
2 changed files with 16 additions and 16 deletions

View File

@ -31,14 +31,14 @@
/*
* Fixed-size types usable from both C and C++ programs
*/
typedef signed char genode_int8_t;
typedef unsigned char genode_uint8_t;
typedef signed short int genode_int16_t;
typedef unsigned short int genode_uint16_t;
typedef signed int genode_int32_t;
typedef unsigned int genode_uint32_t;
typedef signed long long int genode_int64_t;
typedef unsigned long long int genode_uint64_t;
typedef signed char genode_int8_t;
typedef unsigned char genode_uint8_t;
typedef signed short genode_int16_t;
typedef unsigned short genode_uint16_t;
typedef signed genode_int32_t;
typedef unsigned genode_uint32_t;
typedef signed long long genode_int64_t;
typedef unsigned long long genode_uint64_t;
/*

View File

@ -21,14 +21,14 @@
/*
* Fixed-size types usable from both C and C++ programs
*/
typedef signed char genode_int8_t;
typedef unsigned char genode_uint8_t;
typedef signed short int genode_int16_t;
typedef unsigned short int genode_uint16_t;
typedef signed int genode_int32_t;
typedef unsigned int genode_uint32_t;
typedef signed long int genode_int64_t;
typedef unsigned long int genode_uint64_t;
typedef signed char genode_int8_t;
typedef unsigned char genode_uint8_t;
typedef signed short genode_int16_t;
typedef unsigned short genode_uint16_t;
typedef signed genode_int32_t;
typedef unsigned genode_uint32_t;
typedef signed long long genode_int64_t;
typedef unsigned long long genode_uint64_t;
/*