]> git.sesse.net Git - vlc/commitdiff
Use int64_t directly within plugins rather than vlc_int64_t
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 19:19:51 +0000 (22:19 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 19:19:51 +0000 (22:19 +0300)
I wonder why we need this (in libvlc-control) by the way...?

modules/misc/lua/variables.c

index 4e00a1191aa57ebff14f603ce24fc30fb9c60da5..7c6c45838d4bb16b5d40b326be8abd4e81ac7393 100644 (file)
@@ -114,7 +114,7 @@ static int vlclua_tovalue( lua_State *L, int i_type, vlc_value_t *val )
         case VLC_VAR_TIME:
             {
                 double f = luaL_checknumber( L, -1 );
-                val->i_time = (vlc_int64_t)(f*1000000.);
+                val->i_time = (int64_t)(f*1000000.);
             }
             break;
         case VLC_VAR_ADDRESS: