diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2013-03-25 15:03:41 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-03-26 19:36:39 +0100 |
commit | c7b6d7db092cfd925f1fb6333e166a54663310e7 (patch) | |
tree | d688ad6085d160b22da067aa11bc43b731f8e088 /payloads/libpayload/include/armv7/arch | |
parent | e21f5e14834af6426bd6fc3e7f37f6b18243f416 (diff) | |
download | coreboot-c7b6d7db092cfd925f1fb6333e166a54663310e7.tar.xz |
libpayload: Fix type issues
There were a number of type issues in libpayload that sneaked in
with 903f8e0.
- size_t and ssize_t were conflicting with gcc builtins
- some stdint types were used in libpayload but not defined
in our stdint.h
With this patch it's possible to compile libpayload with the
reference toolchain again.
Change-Id: Idd5ccfdd9f3536b36bceca2d101e7405883b10bc
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/2903
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/include/armv7/arch')
-rw-r--r-- | payloads/libpayload/include/armv7/arch/types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/include/armv7/arch/types.h b/payloads/libpayload/include/armv7/arch/types.h index d6f4aa8b66..bb4025714f 100644 --- a/payloads/libpayload/include/armv7/arch/types.h +++ b/payloads/libpayload/include/armv7/arch/types.h @@ -53,8 +53,8 @@ typedef signed long long s64; typedef long time_t; typedef long suseconds_t; -typedef unsigned int size_t; -typedef int ssize_t; +typedef unsigned long size_t; +typedef long ssize_t; #ifndef NULL #define NULL ((void *)0) |