Signed-off-by: Dave Airlie <airlied@redhat.com>
unsigned i, j;
for (i = 0; i < h; i++) {
- uint32_t *pRow = p;
+ uint32_t *pRow = (uint32_t *)p;
for (j = 0; j < w; j++, pRow += 4) {
pRow[0] =
unsigned i, j;
for (i = 0; i < h; i++) {
- uint32_t *pRow = p;
+ uint32_t *pRow = (uint32_t *)p;
for (j = 0; j < w; j++, pRow += 4) {
pRow[0] =
pRow[1] =
unsigned i, j;
for (i = 0; i < h; i++) {
- uint32_t *pRow = p;
+ uint32_t *pRow = (uint32_t *)p;
for (j = 0; j < w; j++, pRow += 4) {
pRow[0] =
pRow[1] =