Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
VGImageFormat dstFormat,
void *dstAddr)
{
- VGint i;
+ VGuint i;
switch (dstFormat) {
case VG_sRGBX_8888: {
VGImageFormat dataFormat,
VGfloat rgba[][4])
{
- VGint i;
+ VGuint i;
union util_color uc;
switch (dataFormat) {
src += offset;
for (i = 0; i < n; i += 8) {
VGfloat clr[4];
- VGint j;
+ VGuint j;
for (j = 0; j < 8 && j < n ; ++j) {
VGint shift = j;
clr[0] = (((*src) & (1<<shift)) >> shift);
src += offset;
for (i = 0; i < n; i += 8) {
VGfloat clr[4];
- VGint j;
+ VGuint j;
for (j = 0; j < 8 && j < n ; ++j) {
VGint shift = j;
clr[0] = 0.f;
src += offset/2;
for (i = 0; i < n; i += 2) {
VGfloat clr[4];
- VGint j;
+ VGuint j;
for (j = 0; j < n && j < 2; ++j) {
VGint bitter, shift;
if (j == 0) {