From e3b8cd926528288a06b8eae065621befbcd34986 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 13 Oct 2005 12:09:56 +0000 Subject: [PATCH] Magic glib macro usage to ensure constants are passed properly to vararg functions. Original commit message from CVS: Magic glib macro usage to ensure constants are passed properly to vararg functions. --- ChangeLog | 6 ++++++ ext/ogg/gstoggmux.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4a2dae991..ee0c062a8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-10-13 Michael Smith + + * ext/ogg/gstoggmux.c: + Use magic glib macros to define constants as 64 bit, to ensure + appropriate vararg passing. + 2005-10-13 Michael Smith * ext/ogg/gstoggmux.c: diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 36c6683273..6f7223f29f 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -131,8 +131,8 @@ enum }; /* set to 0.5 seconds by default */ -#define DEFAULT_MAX_DELAY 500000000 -#define DEFAULT_MAX_PAGE_DELAY 500000000 +#define DEFAULT_MAX_DELAY G_GINT64_CONSTANT(500000000) +#define DEFAULT_MAX_PAGE_DELAY G_GINT64_CONSTANT(500000000) enum { ARG_0,