From 120f0271ac5ca8807e42341a10e0f5bbbf7ecfec Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 20 May 2004 14:01:45 +0000 Subject: [PATCH] next time someone tells me to use the gst macros because they are better, they'd better be correct, damnit Original commit message from CVS: next time someone tells me to use the gst macros because they are better, they'd better be correct, damnit --- gst/gstutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstutils.h b/gst/gstutils.h index fa61e87..86b7d9b 100644 --- a/gst/gstutils.h +++ b/gst/gstutils.h @@ -170,7 +170,7 @@ type_as_function ## _get_type (void) \ #define GST_READ_UINT8(data) (_GST_GET (data, 0, 8, 0)) #define _GST_PUT(__data, __idx, __size, __shift, __num) \ - (((guint8 *) (__data))[__idx] = (((guint##size) __num) >> __shift) & 0xff) + (((guint8 *) (__data))[__idx] = (((guint##__size) __num) >> __shift) & 0xff) #define GST_WRITE_UINT64_BE(data, num) do { \ _GST_PUT (data, 0, 64, 56, num); \ -- 2.7.4