X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/fdff28dfb693888c083c47255c784256bede64cb..bd5f6b55320b6889827908762197642b484ea28d:/src/image.c diff --git a/src/image.c b/src/image.c index 24dce99..ed80565 100644 --- a/src/image.c +++ b/src/image.c @@ -62,7 +62,7 @@ struct lbx_image_priv { unsigned currentx, currenty, currentn; int read_state; - unsigned long offsets[]; + unsigned long offsets[FLEXIBLE_ARRAY_MEMBER]; }; static struct lbx_image_priv *lbx_img_init(unsigned char *hdr)