OSDN Git Service

nv30: Fix "array subscript is below array bounds" compiler warning
authorHans de Goede <hdegoede@redhat.com>
Wed, 29 Jun 2016 12:32:19 +0000 (14:32 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jul 2016 10:21:28 +0000 (12:21 +0200)
commitd7dfd4cb511b3190c74f5a03ca9bd8351ad6d062
treeeb7064b26efe463be934ac94ffdbd82efb68daf3
parent110ef733dcd3fd306c513a2546b6e0a7d3179263
nv30: Fix "array subscript is below array bounds" compiler warning

gcc6 does not like the trick where we point to one entry before the
array start and then start a while with a pre-increment.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_transfer.c