Re: [PATCH v2 08/22] sim/erc32: Added -v command line switch for verbose output

Mike Frysinger
2015-02-22T04:34:18Z

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

On 19 Feb 2015 23:31, Jiri Gaisler wrote:
> --- a/sim/erc32/sis.h
> +++ b/sim/erc32/sis.h
> @@ -52,8 +52,13 @@ typedef float float32; /* 32-bit float */
> typedef double float64; /* 64-bit float */
>
> /* FIXME: what about host compilers that don't support 64-bit ints? */
> +#ifdef __LP64__
> +typedef unsigned long uint64; /* 64-bit unsigned int */
> +typedef long int64; /* 64-bit signed int */
> +#else
> typedef unsigned long long uint64; /* 64-bit unsigned int */
> typedef long long int64; /* 64-bit signed int */
> +#endif

what's up with these types ? just include stdint.h and use uint##_t instead.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]