From af874cb250bd217c7417f3c834bd578146c66a3b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 7 Apr 2003 18:43:20 +0000 Subject: Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1. Original commit message from CVS: Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1. --- ext/flac/gstflac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/flac') diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index 6614f865..e955c2cc 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -70,7 +70,7 @@ static GstTypeDefinition flacdefinition = { static GstCaps* flac_type_find (GstBuffer *buf, gpointer private) { - gulong head = GULONG_FROM_BE (*((gulong *)GST_BUFFER_DATA (buf))); + guint32 head = GUINT32_FROM_BE (*((guint32 *)GST_BUFFER_DATA (buf))); if (head != 0x664C6143) return NULL; -- cgit