aboutsummaryrefslogtreecommitdiffstats
path: root/tests/node_offset_by_prop_value.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/node_offset_by_prop_value.c')
-rw-r--r--tests/node_offset_by_prop_value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/node_offset_by_prop_value.c b/tests/node_offset_by_prop_value.c
index 9212a4efeffc..286f1e7aa15c 100644
--- a/tests/node_offset_by_prop_value.c
+++ b/tests/node_offset_by_prop_value.c
@@ -69,7 +69,7 @@ static void check_search_str(void *fdt, const char *propname,
#define check_search_cell(fdt, propname, propval, ...) \
{ \
- uint32_t val = cpu_to_fdt32(propval); \
+ fdt32_t val = cpu_to_fdt32(propval); \
check_search((fdt), (propname), &val, sizeof(val), \
##__VA_ARGS__); \
}