summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2014-01-14 08:34:27 +0000
committerphintuka <phintuka>2014-01-14 08:34:27 +0000
commit9ddf80798f855fb499520c676a9c6b243b1acbe4 (patch)
tree716dbf29c150f51be3addcd7ac7dfc95cca8fffa
parentd2126fd0508278758a3647bdb75d020403f6ee2c (diff)
downloadxineliboutput-9ddf80798f855fb499520c676a9c6b243b1acbe4.tar.gz
xineliboutput-9ddf80798f855fb499520c676a9c6b243b1acbe4.tar.bz2
Fixed warnings
-rw-r--r--xine_sxfe_frontend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index b9f662f8..7ff62eb9 100644
--- a/xine_sxfe_frontend.c
+++ b/xine_sxfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_sxfe_frontend.c,v 1.206 2014-01-13 09:01:02 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.207 2014-01-14 08:34:27 phintuka Exp $
*
*/
@@ -2567,7 +2567,7 @@ static void sxfe_toggle_fullscreen(fe_t *this_gen, int fullscreen)
this->fullscreen_state_forced = !force;
}
-static unsigned char *sxfe_display_edid(fe_t *this_gen, int *size)
+static unsigned char *sxfe_display_edid(frontend_t *this_gen, int *size)
{
sxfe_t *this = (sxfe_t*)this_gen;
unsigned char *edid = NULL;
@@ -2629,7 +2629,7 @@ static unsigned char *sxfe_display_edid(fe_t *this_gen, int *size)
&actual_type, &actual_format,
&nitems, &bytes_after, &prop);
if (actual_format == 8 && actual_type == XA_INTEGER) {
- LOGDBG("edid: Found EDID, %d bytes", nitems);
+ LOGDBG("edid: Found EDID, %ld bytes", nitems);
*size = nitems;
edid = malloc(*size);
memcpy(edid, prop, *size);