aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorDylan Noblesmith <[email protected]>2012-04-01 19:48:21 +0000
committerDylan Noblesmith <[email protected]>2012-04-13 14:25:08 +0000
commit6a491b5728fcfb928612182fa87212eeb2253917 (patch)
treef4cd06fd6cb01cc3ec2fb29cff7210815b90d07a /src/gallium/targets
parent071501a68129768c6223beb24f7363d87c6684ea (diff)
st/vega: fix uninitialized values
C still treats array arguments exactly like pointer arguments. By sheer coincidence, this still worked fine on 64-bit machines where 2 * sizeof(float) == sizeof(void*), but not on 32-bit. Noticed by clang: text.c:76:51: warning: sizeof on array function parameter will return size of 'const VGfloat *' (aka 'const float *') instead of 'const VGfloat [2]' [-Wsizeof-array-argument] memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyphOrigin)); NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions