commit | 00c49b21e7af1dd8d2167c1b019619ac186dad14 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Oct 09 14:42:47 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 11 16:50:00 2013 +0200 |
tree | 04c2d5dbc1cd0a15e143ec8fe7bc6e40a7b76353 | |
parent | 84757f7e67cda3df8b04e06fbdeecc266415d2f3 [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>