glu: fix two Clang warnings
authorLukas Rössler <pontomedon@gmail.com>
Mon, 21 May 2012 14:29:21 +0000 (08:29 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 21 May 2012 14:29:23 +0000 (08:29 -0600)
commit6178b653c766beeb8a6ad37134a6ee1a246a0c18
tree869cf1fbd0cb050f81a3db1610c1dfd69e109734
parented9d1bef81c9a5601f81d65ebbf30335c485a48e
glu: fix two Clang warnings

This patch removes two Clang warnings in GLU:

The first one seems to be an actual bug in mapdesc.cc: Clang complains
that sizeof(dest) will return the size of REAL*[MAXCOORDS], instead of
the intended REAL[MAXCOORDS][MAXCOORDS]. The second one is just
cosmetic because Clang doesn't like extra parentheses.

NOTE: This is a candidate for the 8.0 branch

Reviewed-by: Brian Paul <brianp@vmware.com>
src/glu/sgi/libnurbs/internals/mapdesc.cc
src/glu/sgi/libnurbs/internals/nurbstess.cc