nvc0: Fix implicit conversion build -Werror on AOSP

May be we really meant 255 as the cap value? Otherwise
we run into following build Werror on AOSP:

"
src/gallium/drivers/nouveau/nvc0/nvc0_program.c:689:54: error: implicit conversion from 'int' to 'uint8_t' (aka 'unsigned char') changes value from 256 to 0 [-Werror,-Wconstant-conversion]
      prog->num_gprs = MIN2(info_out.bin.maxGPR + 5, 256); //XXX: why?
                     ~                               ^~~
src/util/u_math.h:673:43: note: expanded from macro 'MIN2'
#define MIN2( A, B )   ( (A)<(B) ? (A) : (B) )
                                          ^
"

Suggested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I2557a38af93342b7ce2df75352f495b7bd9aa2b8
1 file changed