summaryrefslogtreecommitdiffstats
path: root/block.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-03-26 13:05:59 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-04-01 15:22:35 +0200
commit686d7148ec23402a172628c800022b3a95a022c9 (patch)
tree1852a2c78ece18bda9a602a652f5ccbda300c15d /block.c
parentc165f7758009a4f793c1fc19ebb69cf55313450b (diff)
downloadhqemu-686d7148ec23402a172628c800022b3a95a022c9.zip
hqemu-686d7148ec23402a172628c800022b3a95a022c9.tar.gz
dmg: use uint64_t consistently for sectors and lengths
The DMG metadata is stored as uint64_t, so use the same type for sector_num. int was a particularly poor choice since it is only 32-bit and would truncate large values. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud