From: David Schleef Date: Thu, 17 Oct 2002 00:53:13 +0000 (+0000) Subject: After the third time of calling GST_PROPS_FLOAT with an integer and wondering why... X-Git-Tag: BRANCH-RELEASE-0_4_2-ROOT~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f02673d3e0c4ba5ba6f159f81161a13df1295a9;p=platform%2Fupstream%2Fgstreamer.git After the third time of calling GST_PROPS_FLOAT with an integer and wondering why it didn't work, I add an explicit c... Original commit message from CVS: After the third time of calling GST_PROPS_FLOAT with an integer and wondering why it didn't work, I add an explicit cast. --- diff --git a/common b/common index fa2e4df..2f0e1ec 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit fa2e4df50fd965b1dbd3b35b87d914ff87362815 +Subproject commit 2f0e1ecbfe7d27cf1b2215204958c95516db173d diff --git a/gst/gstprops.h b/gst/gstprops.h index 29d5201..7b46bbd 100644 --- a/gst/gstprops.h +++ b/gst/gstprops.h @@ -63,8 +63,8 @@ typedef enum { #define GST_PROPS_GLIST(a) GST_PROPS_GLIST_TYPE,(a) #define GST_PROPS_INT(a) GST_PROPS_INT_TYPE,(a) #define GST_PROPS_INT_RANGE(a,b) GST_PROPS_INT_RANGE_TYPE,(a),(b) -#define GST_PROPS_FLOAT(a) GST_PROPS_FLOAT_TYPE,(a) -#define GST_PROPS_FLOAT_RANGE(a,b) GST_PROPS_FLOAT_RANGE_TYPE,(a),(b) +#define GST_PROPS_FLOAT(a) GST_PROPS_FLOAT_TYPE,((float)(a)) +#define GST_PROPS_FLOAT_RANGE(a,b) GST_PROPS_FLOAT_RANGE_TYPE,((float)(a)),((float)(b)) #define GST_PROPS_FOURCC(a) GST_PROPS_FOURCC_TYPE,(a) #define GST_PROPS_BOOLEAN(a) GST_PROPS_BOOL_TYPE,(a) #define GST_PROPS_STRING(a) GST_PROPS_STRING_TYPE,(a)