On Tue, Dec 04, 2018 at 10:13:18AM +0100, Ahmad Fatoum wrote:
> len was int but is passed to read_file(..., size_t *size),
> Fix this.
>
> Signed-off-by: Ahmad Fatoum
> ---
> lib/bootstrap/disk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/lib/bootstrap/disk.c b/lib/bootstrap/disk.c
> index a55d5d77f4cf..fd016166e6e4 100644
> --- a/lib/bootstrap/disk.c
> +++ b/lib/bootstrap/disk.c
> @@ -18,7 +18,7 @@ void* bootstrap_read_disk(const char *dev, const char
> *fstype)
> {
> int ret;
> void *buf;
> - int len;
> + size_t len;
> const char *path = "/";
>
> ret = mount(dev, fstype, path, NULL);
> --
> 2.19.1
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox