GNOME Bugzilla – Bug 758832
[tiff-loader][PATCH] Fix compilation on big endian arches
Last modified: 2015-12-08 13:35:14 UTC
Created attachment 316508 [details] [review] Fix compilation on big endian The attached patch fixes the following error when compiling in big endian arches: tiff-load.c: In function 'load_RGBA': tiff-load.c:508:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'end' guint row end = row * p->width + p->width; ^ tiff-load.c:508:17: error: 'end' undeclared (first use in this function) tiff-load.c:508:17: note: each undeclared identifier is reported only once for each function it appears in tiff-load.c:509:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] guint i; ^ tiff-load.c:511:31: error: 'row_end' undeclared (first use in this function) for (i = row_start; i < row_end; i++) ^ Makefile:1302: recipe for target 'tiff_load_la-tiff-load.lo' failed
This was already fixed in Git master: commit d2b05d59b451bdb3b7d2bc61f400bd198e3ed295 Author: Nils Philippsen <nils@redhat.com> Date: Thu Dec 3 22:09:00 2015 +0100 fix typo
Thanks for the bug (and the patch), though!