Replace GNU old-style field designators with C89 compatible initializers
parent
a59523038d
commit
d2bc56737d
|
@ -13,7 +13,7 @@
|
|||
int main()
|
||||
{
|
||||
gdImagePtr src, dst;
|
||||
gdRect rect = {x: 0, y: 0, width: 8, height: 8};
|
||||
gdRect rect = {0, 0, 8, 8};
|
||||
|
||||
src = gdImageCreate(8, 8);
|
||||
dst = gdImageCrop(src, &rect);
|
||||
|
|
Loading…
Reference in New Issue