From: Petr Uzel Date: Mon, 19 Sep 2011 13:29:09 +0000 (+0200) Subject: sfdisk: file descriptor is of int type X-Git-Tag: v2.21-rc1~383 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c4c0268a66d51b94bb4bd4bae5a497d717c7d97;p=thirdparty%2Futil-linux.git sfdisk: file descriptor is of int type Signed-off-by: Petr Uzel --- diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c index 46245d3f93..81a50ee78b 100644 --- a/fdisk/sfdisk.c +++ b/fdisk/sfdisk.c @@ -156,7 +156,7 @@ fatal(char *s, ...) { */ static int -sseek(char *dev, unsigned int fd, unsigned long s) { +sseek(char *dev, int fd, unsigned long s) { off_t in, out; in = ((off_t) s << 9); out = 1;