# HG changeset patch # User diego # Date 1308750531 0 # Node ID 27f7a3196e18c7ca5eeb903915a2ee200fbed9bc # Parent 18b47d32b0d02bd95d6150732484a67a94c68133 tvi_dshow: Adjust mp_msg printf conversion specifier to avoid warnings. stream/tvi_dshow.c:2807: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int' stream/tvi_dshow.c:2821: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'i diff -r 18b47d32b0d0 -r 27f7a3196e18 stream/tvi_dshow.c --- a/stream/tvi_dshow.c Wed Jun 22 13:48:45 2011 +0000 +++ b/stream/tvi_dshow.c Wed Jun 22 13:48:51 2011 +0000 @@ -2804,7 +2804,9 @@ hr = init_chain_common(priv->pBuilder, priv->chains[1]); if(FAILED(hr)) { - mp_msg(MSGT_TV, MSGL_V, "tvi_dshow: Unable to initialize audio chain (Error:0x%x). Audio disabled\n", (unsigned long)hr); + mp_msg(MSGT_TV, MSGL_V, + "tvi_dshow: Unable to initialize audio chain (Error:0x%lx). Audio disabled\n", + (unsigned long)hr); priv->chains[1]->arpmt=calloc(1, sizeof(AM_MEDIA_TYPE*)); priv->chains[1]->arStreamCaps=calloc(1, sizeof(void*)); } @@ -2818,7 +2820,9 @@ hr = init_chain_common(priv->pBuilder, priv->chains[2]); if(FAILED(hr)) { - mp_msg(MSGT_TV, MSGL_V, "tvi_dshow: Unable to initialize VBI chain (Error:0x%x). Teletext disabled\n", (unsigned long)hr); + mp_msg(MSGT_TV, MSGL_V, + "tvi_dshow: Unable to initialize VBI chain (Error:0x%lx). Teletext disabled\n", + (unsigned long)hr); priv->chains[2]->arpmt=calloc(1, sizeof(AM_MEDIA_TYPE*)); priv->chains[2]->arStreamCaps=calloc(1, sizeof(void*)); }