]> git.sesse.net Git - vlc/commitdiff
Fix build for C++11
authorTristan Matthews <le.businessman@gmail.com>
Wed, 2 Jul 2014 21:28:02 +0000 (17:28 -0400)
committerTristan Matthews <le.businessman@gmail.com>
Wed, 2 Jul 2014 21:28:02 +0000 (17:28 -0400)
C++11 requires a space between literal and identifier

modules/gui/qt4/components/extended_panels.cpp
modules/gui/skins2/src/dialogs.cpp
modules/video_filter/atmo/AtmoLiveView.cpp
modules/video_filter/atmo/atmo.cpp

index 84d16aeba555bbee676b6c2485e24dd5c4fa159f..bbff25a50dfc8501414aecc5bfeb3b46d3bccd75 100644 (file)
@@ -557,7 +557,7 @@ void ExtVideo::setWidgetValue( QObject *widget )
         else if( lineedit )
         {
             char str[30];
-            snprintf( str, sizeof(str), "%06"PRIX64, val.i_int );
+            snprintf( str, sizeof(str), "%06" PRIX64, val.i_int );
             lineedit->setText( str );
         }
         else if( combobox ) combobox->setCurrentIndex(
@@ -750,7 +750,7 @@ void ExtV4l2::Refresh( void )
 
             QString name = qtr( vartext.psz_string );
             free( vartext.psz_string );
-            msg_Dbg( p_intf, "v4l2 control \"%"PRIx64"\": %s (%s)",
+            msg_Dbg( p_intf, "v4l2 control \"%" PRIx64 "\": %s (%s)",
                      val.p_list->p_values[i].i_int, psz_var, qtu( name ) );
 
             int i_type = var_Type( p_obj, psz_var );
index 3bda3b94eba4117fa6e28de68aff78165620b1b3..fc4db08348b56f1f68857234b4eea7c687d01f6f 100644 (file)
@@ -212,7 +212,7 @@ void Dialogs::showChangeSkin()
 void Dialogs::showPlaylistLoad()
 {
     showFileGeneric( _("Open playlist"),
-                     _("Playlist Files|"EXTENSIONS_PLAYLIST"|"
+                     _("Playlist Files|" EXTENSIONS_PLAYLIST "|"
                        "All Files|*"),
                      showPlaylistLoadCB, kOPEN );
 }
index 987bb6115ad6da3016a852fab5c62a0aeb67505b..8cef916f71d08268296f63b197994b5c93ff97c9 100644 (file)
@@ -98,7 +98,7 @@ DWORD CAtmoLiveView::Execute(void)
         if( frameDelay > 0 )
             do_sleep( frameDelay );
 #if defined(_ATMO_VLC_PLUGIN_)
-        msg_Dbg( m_pLog, "First Packet got %"PRId64" ms", (get_time - t) / 1000  );
+        msg_Dbg( m_pLog, "First Packet got %" PRId64 " ms", (get_time - t) / 1000  );
 #endif
     }
 
@@ -139,7 +139,7 @@ DWORD CAtmoLiveView::Execute(void)
                     if( frameDelay > 0 )
                         do_sleep( frameDelay );
 #if defined(_ATMO_VLC_PLUGIN_)
-                    msg_Dbg( m_pLog, "got delayed packet %"PRId64" ms", (mdate() - t) / 1000  );
+                    msg_Dbg( m_pLog, "got delayed packet %" PRId64 " ms", (mdate() - t) / 1000  );
 #endif
                     continue;
                 }
index 518e2c5aee10ff393ebf7aa498b17d56f2c29458..54fab7d3600b5e9c9659800ead8fcf7a80c15a51 100644 (file)
@@ -2448,7 +2448,7 @@ static int AtmoSettingsCallback( vlc_object_t *, char const *psz_var,
     if(p_atmo_config)
     {
 
-       msg_Dbg(p_filter, "apply AtmoSettingsCallback %s (int: %"PRId64" -> %"PRId64")",
+       msg_Dbg(p_filter, "apply AtmoSettingsCallback %s (int: %" PRId64 " -> %" PRId64 ")",
              psz_var,
              oldval.i_int,
              newval.i_int