X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fpartition.h;h=c84a54028fd39318cb9e927483d3b0baf9b8376a;hb=0fbc23b104256965cbb3678e85a0ae55a5149c58;hp=e3c2fa3f9fbb764b9bd584914bf44295a4d21380;hpb=f574e1127a225e2de2e77a6b9e46a65986789f1f;p=rrq%2Fmaintain_lilo.git diff --git a/src/partition.h b/src/partition.h index e3c2fa3..c84a540 100644 --- a/src/partition.h +++ b/src/partition.h @@ -2,7 +2,7 @@ * * Copyright 1992-1998 Werner Almesberger * Copyright 1999-2004 John Coffman - * Copyright 2009-2011 Joachim Wiedorn + * Copyright 2009-2015 Joachim Wiedorn * All rights reserved. * * Licensed under the terms contained in the file 'COPYING' @@ -26,10 +26,10 @@ enum {PTW_OKAY=0, PTW_DOS=1, PTW_OS2=2, PTW_SWAP, PTW_XFS, PTW_mask=7, PTW_NTFS=8}; -#define LLSECTORSIZE ((long long)SECTOR_SIZE) +#define LLSECTORSIZE ((int64_t)SECTOR_SIZE) #if __GLIBC__ < 2 || __GLIBC_MINOR__ < 1 -typedef long long lloff_t; +typedef int64_t lloff_t; #ifdef _syscall5 lloff_t lseek64(unsigned int fd, lloff_t offs, unsigned int whence); @@ -80,7 +80,7 @@ void do_install_mbr(char *where, char *what); /* Install a new MBR (Master Boot Record) */ int read_partitions(char *part, int max, int *volid, - struct partition *p, long long *where); + struct partition *p, int64_t *where); /* read all partitions & partition tables */ #endif