diff options
author | Jean Lucas <jean@4ray.co> | 2016-01-30 01:20:54 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-02-02 01:39:28 +0100 |
commit | 9ab9c33d7d97ebe1d8e5d25eb4b646f310b5f188 (patch) | |
tree | cfd934722d15f284f46791c663e82de0d80f765c | |
parent | 21724934d5b498f76bbe309584f4321e6f719fac (diff) | |
download | coreboot-9ab9c33d7d97ebe1d8e5d25eb4b646f310b5f188.tar.xz |
lib/gcov-glue.c: Remove trailing number from COVERAGE_MAGIC macro
The COVERAGE_MAGIC macro has a trailing `4' on it, which makes it a
64-bit large integer, as opposed to a 32-bit unsigned integer, as
originally designated in `util/cbmem/cbmem.c'. Remove this number so
building with CODE_COVERAGE will succeed.
Change-Id: Ib5d7f2704a4c092c3eca6f62e219edb30950d793
Signed-off-by: Jean Lucas <jean@4ray.co>
Reviewed-on: https://review.coreboot.org/13520
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/lib/gcov-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gcov-glue.c b/src/lib/gcov-glue.c index 4e5a9e13a0..0e452472d7 100644 --- a/src/lib/gcov-glue.c +++ b/src/lib/gcov-glue.c @@ -34,7 +34,7 @@ typedef struct file { #define COVERAGE_SIZE (32*1024) -#define COVERAGE_MAGIC 0x584d41534 +#define COVERAGE_MAGIC 0x584d4153 static FILE *current_file = NULL; static FILE *previous_file = NULL; |