util: fix MSVC warning in u_align_u32()
authorBrian Paul <brianp@vmware.com>
Mon, 3 Apr 2017 14:45:07 +0000 (08:45 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 3 Apr 2017 19:09:05 +0000 (13:09 -0600)
commitb98ec1e92055857c08bb132a09115854d9c2248a
treeac82c4957aeedf6a84300d6284cf37805e875eaa
parent960f640c7ae2526691577e9edb355cac0bd58823
util: fix MSVC warning in u_align_u32()

To silence
C:\Users\Brian\projects\mesa\src\util/u_vector.h(41) : warning C4146: unary
minus operator applied to unsigned type, result still unsigned

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/util/u_vector.h