storage.dll16: Fix get_nth_next_small_blocknr.
commite3781c84ab24772b84dc8e0f9e92581ba44c1daa
authorZebediah Figura <z.figura12@gmail.com>
Thu, 23 Feb 2017 19:34:07 +0000 (23 13:34 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 24 Feb 2017 10:10:39 +0000 (24 11:10 +0100)
treea0d6e4c0cf434452b4ebe1e7a8736b01ba6f8cc9
parent0a2f9f54ebfef4adc3e0438ffcb9cf531ac1ba73
storage.dll16: Fix get_nth_next_small_blocknr.

Dividing the initial value of -1 by 128 yields 0, causing the
assertion to fail whenever the function is called with nr > 0 and
blocknr < 128.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/storage.dll16/storage.c