Re: [Mesa-dev] [PATCH 8/9] st/vega: fix uninitialized values

2012-04-02 Thread Brian Paul
On 04/01/2012 04:25 PM, nobled wrote: 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 par

[Mesa-dev] [PATCH 8/9] st/vega: fix uninitialized values

2012-04-01 Thread nobled
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 VGfloa