fix the EXPAND macro to make picky compilers happy. Fixes bug #344326,

2006-06-08  Simon Budig  <simon@gimp.org>

	* plug-ins/common/sel_gauss.c: fix the EXPAND macro to make
	picky compilers happy. Fixes bug #344326, spotted by
	Eric Lamarque.
This commit is contained in:
Simon Budig 2006-06-08 21:07:04 +00:00 committed by Simon Budig
parent 1ef506b77c
commit 16cda2d4cd
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-06-08 Simon Budig <simon@gimp.org>
* plug-ins/common/sel_gauss.c: fix the EXPAND macro to make
picky compilers happy. Fixes bug #344326, spotted by
Eric Lamarque.
2006-06-08 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):

View File

@ -714,8 +714,12 @@ matrixmult (const guchar *src,
#define EXPAND(BYTES, ALPHA)\
if (bytes == BYTES && has_alpha == ALPHA)\
return matrixmult_int (src, dest, width, height, mat, numrad,\
BYTES, ALPHA, maxdelta, preview_mode);
{\
matrixmult_int (src, dest, width, height, mat, numrad,\
BYTES, ALPHA, maxdelta, preview_mode);\
return;\
}
EXPAND (1, 0)
EXPAND (2, 1)
EXPAND (3, 0)