changeset 33622:27f7a3196e18

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
author diego
date Wed, 22 Jun 2011 13:48:51 +0000
parents 18b47d32b0d0
children 9d1734a75102
files stream/tvi_dshow.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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*));
         }