Fixed a compilation error for GCC 4.x

master
David Capello 2007-09-19 18:31:12 +00:00
parent 6cc977f903
commit 7c4dbdc036
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ typedef struct _ArtBitmapSVPData ArtBitmapSVPData;
struct _ArtBitmapSVPData
{
Image *image;
void *address;
unsigned char *address;
int shift;
int x0, x1;
int color;
@ -315,7 +315,7 @@ static void art_image_svp_callback(void *callback_data, int y, int start,
(*data->hline) (data->image, x0, y, x1-1, color, g);
}
((unsigned char *)data->address) += data->image->w << data->shift;
data->address += data->image->w << data->shift;
}
/**