Bugzilla – Bug 158409
control-center-1.4.0.5-83: undefined C code
Last modified: 2006-04-11 01:41:16 UTC
I just tried to compile package control-center-1.4.0.5-83 with the GNU C compiler. It said render-background.c:130: warning: operation on "pixels" may be undefined The source code is line[i] = *(pixels++) + *(pixels++) + *(pixels++); I agree with the compiler. This is undefined C code. Suggest new code line[i] = pixels[ 0] + pixels[ 1] + pixels[ 2]; pixels += 3;
I'll take a look. Thank you for reporting.
Fixed, package submited.
*** Bug 163561 has been marked as a duplicate of this bug. ***