X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=helper%2Fext2.c;h=23958710bdac5cf81bd0c2628be7aad664710c5a;hb=9e7f9f6782bd619a893850c4ab9d14e7176f6e44;hp=beef8eddfde493ba4e63617c08e4be6ca903b973;hpb=c280d22671b1c5b2e6b39951b9c5bc5e83882ac9;p=febootstrap.git diff --git a/helper/ext2.c b/helper/ext2.c index beef8ed..2395871 100644 --- a/helper/ext2.c +++ b/helper/ext2.c @@ -65,7 +65,7 @@ ext2_start (const char *hostcpu, const char *appliance, if (fd == -1) error (EXIT_FAILURE, errno, "open: %s", appliance); - if (lseek (fd, APPLIANCE_SIZE - 1, SEEK_SET) == -1) + if (lseek (fd, APPLIANCE_SIZE - 1, SEEK_SET) == (off_t) -1) error (EXIT_FAILURE, errno, "lseek"); char c = 0;