diff options
Diffstat (limited to 'libfdt/fdt_wip.c')
-rw-r--r-- | libfdt/fdt_wip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/fdt_wip.c b/libfdt/fdt_wip.c index 24e1724..b336113 100644 --- a/libfdt/fdt_wip.c +++ b/libfdt/fdt_wip.c @@ -80,7 +80,7 @@ static void nop_region(void *start, int len) { uint32_t *p; - for (p = start; (void *)p < (start + len); p++) + for (p = start; (char *)p < ((char *)start + len); p++) *p = cpu_to_fdt32(FDT_NOP); } |