[vlc-devel] commit: DC1394: use SCNx64 instead of llx in sscanf (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Dec 26 19:57:16 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Dec 26 19:56:17 2009 +0100| [f68e1815fa8ac732f2951fb8301cb1e1e3ce1886] | committer: Jean-Baptiste Kempf 

DC1394: use SCNx64 instead of llx in sscanf

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f68e1815fa8ac732f2951fb8301cb1e1e3ce1886
---

 modules/access/dc1394.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dc1394.c b/modules/access/dc1394.c
index 9575d8a..87776f4 100644
--- a/modules/access/dc1394.c
+++ b/modules/access/dc1394.c
@@ -930,7 +930,7 @@ static int process_options( demux_t *p_demux )
         else if( strncmp( token, "uid=", strlen("uid=") ) == 0)
         {
             token += strlen("uid=");
-            sscanf( token, "0x%llx", &p_sys->selected_uid );
+            sscanf( token, "0x %"SCNx64, &p_sys->selected_uid );
         }
     }
 




More information about the vlc-devel mailing list