mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-25 15:41:07 +00:00
Fixed a compilation error for GCC 4.x
This commit is contained in:
parent
6cc977f903
commit
7c4dbdc036
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user