[PATCH 08/17] cmdlinepart: Change SIZE_REMAINING to loff_t
Sascha Hauer
s.hauer at pengutronix.de
Thu Feb 12 00:54:25 PST 2015
For compatibility with devices > 4G.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
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
More information about the barebox
mailing list