[vlc-devel] commit: Use int64_t directly within plugins rather than vlc_int64_t ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 1 21:18:43 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May  1 22:19:51 2008 +0300| [2a1870a5c5b2c9592379335224b431c54e399e76]

Use int64_t directly within plugins rather than vlc_int64_t

I wonder why we need this (in libvlc-control) by the way...?

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

 modules/misc/lua/variables.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/lua/variables.c b/modules/misc/lua/variables.c
index 4e00a11..7c6c458 100644
--- a/modules/misc/lua/variables.c
+++ b/modules/misc/lua/variables.c
@@ -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:




More information about the vlc-devel mailing list