mesa: return v.value_int64 when the requested type is TYPE_INT64
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 13 Mar 2014 06:35:52 +0000 (06:35 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Mar 2014 13:01:47 +0000 (13:01 +0000)
commita9cf3aa2087f807b15e0e59ad00dd5bacf362c18
tree8ddec5e2f513079571cc9350dcd1a350e5b73ad1
parentf064bcdfbf489e0e54feade860ba6193a46efaad
mesa: return v.value_int64 when the requested type is TYPE_INT64

Fixes "Operands don't affect result" defect reported by Coverity.

Cc: "9.2 10.0 10.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/get.c