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.
This commit is contained in:
Wim Taymans 2006-07-06 16:17:20 +00:00
parent ac216fcfdd
commit 167554ec77
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
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),

View file

@ -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>