Replace GNU old-style field designators with C89 compatible initializers

master
Christoph M. Becker 2016-09-11 16:40:42 +02:00
parent a59523038d
commit d2bc56737d
1 changed files with 1 additions and 1 deletions

View File

@ -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);