For compatibility with devices > 4G. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- lib/cmdlinepart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlinepart.c b/lib/cmdlinepart.c index 0474992..4781d82 100644 --- a/lib/cmdlinepart.c +++ b/lib/cmdlinepart.c @@ -22,7 +22,7 @@ #include <linux/err.h> #include <cmdlinepart.h> -#define SIZE_REMAINING ((size_t)-1) +#define SIZE_REMAINING ((loff_t)-1) int cmdlinepart_do_parse_one(char *devname, const char *partstr, char **endp, loff_t *offset, -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox