aboutsummaryrefslogtreecommitdiff
path: root/common/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/update.c')
-rw-r--r--common/update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/update.c b/common/update.c
index 3994677..8dd6ee8 100644
--- a/common/update.c
+++ b/common/update.c
@@ -324,7 +324,8 @@ got_update_file:
}
} else if (fit_image_check_type(fit, noffset,
IH_TYPE_FIRMWARE)) {
- ret = dfu_write_by_name(fit_image_name, update_addr,
+ ret = dfu_write_by_name(fit_image_name,
+ (void *)update_addr,
update_size, interface,
devstring);
if (ret)