Magic glib macro usage to ensure constants are passed properly to vararg functions.
authorMichael Smith <msmith@xiph.org>
Thu, 13 Oct 2005 12:09:56 +0000 (12:09 +0000)
committerMichael Smith <msmith@xiph.org>
Thu, 13 Oct 2005 12:09:56 +0000 (12:09 +0000)
Original commit message from CVS:
Magic glib macro usage to ensure constants are passed properly to vararg
functions.

ChangeLog
ext/ogg/gstoggmux.c

index e4a2dae..ee0c062 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 2005-10-13  Michael Smith <msmith@fluendo.com>
 
        * ext/ogg/gstoggmux.c:
+         Use magic glib macros to define constants as 64 bit, to ensure
+         appropriate vararg passing.
+
+2005-10-13  Michael Smith <msmith@fluendo.com>
+
+       * ext/ogg/gstoggmux.c:
        * gst/audioconvert/audioconvert.c: (float):
          Don't use LL suffix, as it's not portable, and neither of these
          uses required it anyway.
index 36c6683..6f7223f 100644 (file)
@@ -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,