summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-03-08 12:17:44 -0700
committerMartin Roth <martinroth@google.com>2016-03-10 17:28:26 +0100
commit7760261db770aeee520aac2c313af764b606d4bf (patch)
treecf5bc12b46d767c83f57e1a41ce7a52dee3e9e5e /src/arch/riscv
parent7e3903b1f13fb387d6a9b9147faf5fda090c93db (diff)
src/lib/trace.c: Make address size generic
On platforms that didn't use 32-bit addresses, enabling the CONFIG_TRACE option (Trace function calls) would break the build due to a cast from a pointer of a different size. This fixes this warning: src/lib/trace.c:29:58: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] Change-Id: Iaab13c1891b6af7559ea6982ecc6e74c09dd0395 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/13962 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch/riscv')
0 files changed, 0 insertions, 0 deletions