diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-08 20:03:13 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-07-01 09:00:41 +0300 |
commit | 6d17edd24cfcf3595a7f302d70afcfaebfb45629 (patch) | |
tree | 7a406187fd4b0e3b372ec3f46cbbe349bfdbfef3 /mkfs.ubifs/compr.h | |
parent | f6b476ee29833e13c0285d49ebb75666176b2aa7 (diff) |
nandwrite: clean up length types
We use 'int' in many places to represent offsets/sizes. That obviously
does not play well with larger NAND devices on 32bit systems. Instead,
use the right type as needed:
- long long to represent the length of the image
- use fstat() rather than lseek();lseek(); to get the length of the image
- use size_t/ssize_t when working with read()
- tweak the printf formats as needed
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'mkfs.ubifs/compr.h')
0 files changed, 0 insertions, 0 deletions