aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-10-09 14:42:47 +0200
committerKevin Wolf <kwolf@redhat.com>2013-10-11 16:50:00 +0200
commit00c49b21e7af1dd8d2167c1b019619ac186dad14 (patch)
tree04c2d5dbc1cd0a15e143ec8fe7bc6e40a7b76353 /blockdev.c
parent84757f7e67cda3df8b04e06fbdeecc266415d2f3 (diff)
qcow2: Use better type for numerical snapshot ID
When trying to find a new snapshot ID, the existing ones are converted to integers using strtoul. This function returns an unsigned long, therefore its result should be saved in an unsigned long as well. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions