summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-10-17 10:33:43 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-10-17 10:33:43 +0000
commit2ae4242d8a598abe670a1bbe4fef0f8eaee9ac39 (patch)
treefebb12a3b553fcb691a9b703f1198b5f94c5e6de
parentdec4ec1f5c0b347884cb6ed9455b9f66a290f04a (diff)
downloadgst-plugins-bad-2ae4242d8a598abe670a1bbe4fef0f8eaee9ac39.tar.gz
gst-plugins-bad-2ae4242d8a598abe670a1bbe4fef0f8eaee9ac39.tar.bz2
gst-plugins-bad-2ae4242d8a598abe670a1bbe4fef0f8eaee9ac39.zip
sys/dvb/: Fix some warnings.
Original commit message from CVS: * sys/dvb/camapplication.c: * sys/dvb/camresourcemanager.c: Fix some warnings.
-rw-r--r--ChangeLog10
-rw-r--r--sys/dvb/camapplication.c2
-rw-r--r--sys/dvb/camresourcemanager.c2
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 002c232a..6a0eb3dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
+2007-10-17 Tim-Philipp Müller <tim at centricular dot net>
+
+ * sys/dvb/camapplication.c:
+ * sys/dvb/camresourcemanager.c:
+ Fix some warnings.
+
2007-10-16 Thijs Vermeir <thijsvermeir@gmail.com>
* gst/librfb/rfbdecoder.c:
- Add the set encodings client message
+ Add the set encodings client message
2007-10-16 Thijs Vermeir <thijsvermeir@gmail.com>
@@ -11,7 +17,7 @@
* gst/librfb/rfbbytestream.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
- remove the rfbbytestream dead code
+ Remove the rfbbytestream dead code
2007-10-16 Zaheer Abbas Merali <zaheerabbas at merali dot org>
diff --git a/sys/dvb/camapplication.c b/sys/dvb/camapplication.c
index 03f9e552..cbc479ac 100644
--- a/sys/dvb/camapplication.c
+++ b/sys/dvb/camapplication.c
@@ -35,7 +35,7 @@ static CamReturn session_data_cb (CamSL * sl,
static guint
resource_id_hash (gconstpointer key)
{
- guint resource_id = (guint) key;
+ guint resource_id = GPOINTER_TO_UINT (key);
if (!CAM_AL_RESOURCE_ID_IS_PUBLIC (resource_id)) {
/* private identifier, leave it as is */
diff --git a/sys/dvb/camresourcemanager.c b/sys/dvb/camresourcemanager.c
index 8b7ef3b4..5b8c6c18 100644
--- a/sys/dvb/camresourcemanager.c
+++ b/sys/dvb/camresourcemanager.c
@@ -127,7 +127,7 @@ send_profile_reply (CamResourceManager * mgr, CamSLSession * session)
apdu_body = buffer + offset;
for (walk = resource_ids; walk != NULL; walk = walk->next) {
- GST_WRITE_UINT32_BE (apdu_body, walk->data);
+ GST_WRITE_UINT32_BE (apdu_body, GPOINTER_TO_UINT (walk->data));
apdu_body += 4;
}