ext/sidplay/gstsiddec.cc: Cast NULL sentinels to void * as NULL is defined as an integer constant in most environment...

Original commit message from CVS:
* ext/sidplay/gstsiddec.cc:
Cast NULL sentinels to void * as NULL is defined as an integer
constant in most environments when using C++ and it's size might
be different from a pointer. Fixes #529488.
This commit is contained in:
Sebastian Dröge 2008-04-25 23:10:54 +00:00
parent d65a5d0d57
commit 0ad0632f5d
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2008-04-26 Sebastian Dröge <slomo@circular-chaos.org>
* ext/sidplay/gstsiddec.cc:
Cast NULL sentinels to void * as NULL is defined as an integer
constant in most environments when using C++ and it's size might
be different from a pointer. Fixes #529488.
2008-04-22 Edgard Lima <edgard.lima@indt.org.br>
* gst/asfdemux/gstasfdemux.c:

2
common

@ -1 +1 @@
Subproject commit 3bb6edfe927d6d3020d2f2a4604f54caa61cd104
Subproject commit f6fc3fa7643c03eb912f4e259d48c99b0e8d0aca

View file

@ -299,15 +299,15 @@ update_tags (GstSidDec * siddec)
if (info.nameString) {
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
GST_TAG_TITLE, info.nameString, NULL);
GST_TAG_TITLE, info.nameString, (void *) NULL);
}
if (info.authorString) {
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
GST_TAG_ARTIST, info.authorString, NULL);
GST_TAG_ARTIST, info.authorString, (void *) NULL);
}
if (info.copyrightString) {
gst_tag_list_add (list, GST_TAG_MERGE_REPLACE,
GST_TAG_COPYRIGHT, info.copyrightString, NULL);
GST_TAG_COPYRIGHT, info.copyrightString, (void *) NULL);
}
gst_element_found_tags_for_pad (GST_ELEMENT_CAST (siddec),
siddec->srcpad, list);