dfu: modify an argument type for an address
The range of an addressable pointer can go beyond 'integer'. So change the argument type to a void pointer. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
045fd8b13d
commit
1c2d1293f6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user