*
* 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'
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);
/* 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