diff --git a/modules/access/dc1394.c b/modules/access/dc1394.c
index 9575d8adf82d91aa112454581ca84a01b8d06c1e..87776f44d3acd69553a9ccd7ff590c1d20deb800 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 );
         }
     }