summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-05-27 11:57:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-28 10:36:09 +0200
commitcf26f8eb871e861201586157c23f2c32edb4f52c (patch)
treed0694c6ae515c985fc7772cdea3cc1187fb3ef23 /scripts
parentd4eef0f4a68b67c573f21f785982a8eaf486617d (diff)
downloadbarebox-cf26f8eb871e861201586157c23f2c32edb4f52c.tar.gz
barebox-cf26f8eb871e861201586157c23f2c32edb4f52c.tar.xz
scripts: bareboxcrc32: remove usage of loff_t
loff_t is Linux-specific and unneeded at this place, as it's directly passed into a parameter that's a ulong anyway. Thus use a ulong. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bareboxcrc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bareboxcrc32.c b/scripts/bareboxcrc32.c
index e00ffafeb7..1b105a452b 100644
--- a/scripts/bareboxcrc32.c
+++ b/scripts/bareboxcrc32.c
@@ -38,7 +38,7 @@
int main(int argc, char *argv[])
{
- loff_t start = 0, size = ~0;
+ ulong start = 0, size = ~0;
ulong crc = 0, total = 0;
char *filename = NULL;
int i;