summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pl
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-04-27 15:22:59 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-04-27 15:22:59 +0000
commit54888cd7752fec9f82501f07f93a583bbdaed87b (patch)
tree606c1234bd7385e313321ed0e344cc332368219b /perl-install/c/stuff.xs.pl
parent7bb4358bb58b1ecda36c0a33b9162119bfc3695b (diff)
downloaddrakx-54888cd7752fec9f82501f07f93a583bbdaed87b.tar
drakx-54888cd7752fec9f82501f07f93a583bbdaed87b.tar.gz
drakx-54888cd7752fec9f82501f07f93a583bbdaed87b.tar.bz2
drakx-54888cd7752fec9f82501f07f93a583bbdaed87b.tar.xz
drakx-54888cd7752fec9f82501f07f93a583bbdaed87b.zip
allow creating partition starting after 1TB
Diffstat (limited to 'perl-install/c/stuff.xs.pl')
-rw-r--r--perl-install/c/stuff.xs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index a94de81fa..e6fcb860d 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -170,7 +170,7 @@ setlocale(category, locale = 0)
int
lseek_sector(fd, sector, offset)
int fd
- long sector
+ unsigned long sector
long offset
CODE:
RETVAL = lseek64(fd, (off64_t) sector * SECTORSIZE + offset, SEEK_SET) >= 0;