Commit 167554ec authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/gstmessage.h: Use a valid int for the _MESSAGE_ANY enum value to avoid compiler warnings.

Original commit message from CVS:
* gst/gstmessage.h:
Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
warnings.
parent ac216fcf
2006-07-06 Wim Taymans <wim@fluendo.com>
* gst/gstmessage.h:
Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
warnings.
2006-07-06 Wim Taymans <wim@fluendo.com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
......
......@@ -59,7 +59,9 @@ typedef struct _GstMessageClass GstMessageClass;
*
* The different message types that are available.
*/
/* NOTE: keep in sync with quark registration in gstmessage.c */
/* NOTE: keep in sync with quark registration in gstmessage.c
* NOTE: keep GST_MESSAGE_ANY a valid gint to avoid compiler warnings.
*/
typedef enum
{
GST_MESSAGE_UNKNOWN = 0,
......@@ -82,7 +84,7 @@ typedef enum
GST_MESSAGE_SEGMENT_START = (1 << 16),
GST_MESSAGE_SEGMENT_DONE = (1 << 17),
GST_MESSAGE_DURATION = (1 << 18),
GST_MESSAGE_ANY = 0xffffffff
GST_MESSAGE_ANY = 0x7fffffff
} GstMessageType;
#include <gst/gstminiobject.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment