fix build on big endian.

2006-09-21  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager.c (read_pixel_data_1): fix build on
	big endian.
This commit is contained in:
Michael Natterer 2006-09-21 01:16:09 +00:00 committed by Michael Natterer
parent 9ee803df74
commit a9c03ad6b6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-09-21 Michael Natterer <mitch@gimp.org>
* app/base/tile-manager.c (read_pixel_data_1): fix build on
big endian.
2006-09-21 Michael Natterer <mitch@gimp.org>
* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): use

View file

@ -832,7 +832,7 @@ read_pixel_data_1 (TileManager *tm,
*(guint32 *) buffer = *(const guint32 *) src;
break;
#else
*dest++ = *buffer++;
*buffer++ = *src++;
#endif
case 3:
*buffer++ = *src++;