build on gcc 2.95

Original commit message from CVS:
build on gcc 2.95
This commit is contained in:
Scott Wheeler 2004-02-23 23:06:29 +00:00
parent ff81abd2bf
commit 4897f53640
2 changed files with 2 additions and 2 deletions

View file

@ -148,6 +148,7 @@ static guint8 UIDENTITY(guint8 x) { return x; };
static gint8 IDENTITY(gint8 x) { return x; };
#define POPULATE(format, be_func, le_func) {\
format val = (format) int_value;\
format *p = data;\
switch (src->endianness) {\
case G_LITTLE_ENDIAN:\
val = le_func (val);\
@ -158,7 +159,6 @@ static gint8 IDENTITY(gint8 x) { return x; };
default: \
g_assert_not_reached ();\
};\
format *p = data;\
for (j = 0; j < src->channels; j++) {\
*p = val;\
p ++;\

View file

@ -148,6 +148,7 @@ static guint8 UIDENTITY(guint8 x) { return x; };
static gint8 IDENTITY(gint8 x) { return x; };
#define POPULATE(format, be_func, le_func) {\
format val = (format) int_value;\
format *p = data;\
switch (src->endianness) {\
case G_LITTLE_ENDIAN:\
val = le_func (val);\
@ -158,7 +159,6 @@ static gint8 IDENTITY(gint8 x) { return x; };
default: \
g_assert_not_reached ();\
};\
format *p = data;\
for (j = 0; j < src->channels; j++) {\
*p = val;\
p ++;\