summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-05-07 14:43:43 +0000
committerphintuka <phintuka>2008-05-07 14:43:43 +0000
commita306d06d18f7d90db2f5569054a411695c5e18ab (patch)
treea1cbf468b49ba7ab817c98ce851aec786d277307
parentb6d0c2e3f7541d7fccb1bb65507e3d9c0912ac41 (diff)
downloadxineliboutput-a306d06d18f7d90db2f5569054a411695c5e18ab.tar.gz
xineliboutput-a306d06d18f7d90db2f5569054a411695c5e18ab.tar.bz2
Fix parsing pointer value
-rw-r--r--xine_frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 11034235..8c3ad804 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.53 2008-04-13 23:11:51 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.54 2008-05-07 14:43:43 phintuka Exp $
*
*/
@@ -1300,7 +1300,7 @@ static void *fe_control(frontend_t *this_gen, const char *cmd)
} else if(!strncmp(cmd, "SLAVE 0x", 8)) {
unsigned long pt;
- if(1 == sscanf(cmd, "SLAVE 0x%lx", &pt)) {
+ if(1 == sscanf(cmd, "SLAVE 0x%lu", &pt)) {
xine_stream_t *slave_stream = (xine_stream_t*)pt;
if(this->slave_stream != slave_stream) {