From 68fcd6d027b88581992b4fb10ee1edc301e30678 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 20 Sep 2021 14:17:18 +0300 Subject: Some slight robustness improvements and obo errors --- include/libfdt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libfdt.h') diff --git a/include/libfdt.h b/include/libfdt.h index 7425aef..406b6d7 100644 --- a/include/libfdt.h +++ b/include/libfdt.h @@ -9,7 +9,7 @@ void __dbg_fdt(void *fdt, int node_offset, int depth); #define dbg_fdt(...) #endif -#define fdt_load_int_ptr(t, c, p)\ - ((c) == 2 ? (t)fdt64_to_cpu(*(fdt64_t *)(p)) : (t)fdt32_to_cpu(*(fdt32_t *)(p))) +#define fdt_load_int_ptr(c, p)\ + ((c) == 2 ? fdt64_to_cpu(*(fdt64_t *)(p)) : fdt32_to_cpu(*(fdt32_t *)(p))) #endif -- cgit v1.3