diff options
Diffstat (limited to 'tests/nopulate.c')
-rw-r--r-- | tests/nopulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nopulate.c b/tests/nopulate.c index cd79872bc4a9..94ce8adbb98a 100644 --- a/tests/nopulate.c +++ b/tests/nopulate.c @@ -45,7 +45,7 @@ static int nopulate_struct(char *buf, const char *fdt) nextoffset - offset); p += nextoffset - offset; - *((uint32_t *)p) = cpu_to_fdt32(FDT_NOP); + *((fdt32_t *)p) = cpu_to_fdt32(FDT_NOP); p += FDT_TAGSIZE; } while (tag != FDT_END); |