Commit 73092d77 authored by Sam Hocevar's avatar Sam Hocevar

* ./src/stream_output/stream_output.c: Win32 compilation fix.

  * ./src/misc/modules.c: fixed a pointer indirection bug.
parent a5abccd4
......@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
* $Id: input_programs.c,v 1.102 2003/03/11 23:56:54 gbazin Exp $
* $Id: input_programs.c,v 1.103 2003/03/12 05:26:46 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -753,7 +753,7 @@ static int ProgramCallback( vlc_object_t *p_this, char const *psz_cmd,
if( ( newval.i_int > 0 ) )
{
vlc_mutex_unlock( &p_input->stream.stream_lock );
input_ChangeProgram( p_input, newval.i_int );
input_ChangeProgram( p_input, (uint16_t)newval.i_int );
input_SetStatus( p_input, INPUT_STATUS_PLAY );
vlc_mutex_lock( &p_input->stream.stream_lock );
}
......
......@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.115 2003/03/03 16:49:14 gbazin Exp $
* $Id: modules.c,v 1.116 2003/03/12 05:26:46 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
......@@ -586,9 +586,9 @@ static void AllocateAllPlugins( vlc_object_t *p_this )
/* Under BeOS, we need to add beos_GetProgramPath() to access
* files under the current directory */
#ifdef WIN32
if( i_dirlen < 3 || ppsz_path[3] != '\\' )
if( i_dirlen < 3 || (*ppsz_path)[3] != '\\' )
#else
if( ppsz_path[0] != '/' )
if( (*ppsz_path)[0] != '/' )
#endif
{
i_dirlen += i_vlclen + 2;
......
......@@ -2,7 +2,7 @@
* netutils.c: various network functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: netutils.c,v 1.80 2003/03/03 14:21:08 gbazin Exp $
* $Id: netutils.c,v 1.81 2003/03/12 05:26:46 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Benoit Steiner <benny@via.ecp.fr>
......@@ -243,7 +243,7 @@ int __network_ChannelJoin( vlc_object_t *p_this, int i_channel )
/* Build the message */
sprintf( psz_mess, "%d %u %lu %s \n", i_channel, VLCS_VERSION,
(unsigned long)(mdate() / (u64)1000000),
(unsigned long)(mdate() / (uint64_t)1000000),
psz_mac );
/* Send the message */
......
......@@ -2,7 +2,7 @@
* stream_output.c : stream output module
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: stream_output.c,v 1.19 2003/03/11 21:52:05 fenrir Exp $
* $Id: stream_output.c,v 1.20 2003/03/12 05:26:46 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
......@@ -1183,8 +1183,8 @@ static int mrl_Parse( mrl_t *p_mrl, char *psz_mrl )
#if defined( WIN32 ) || defined( UNDER_CE )
if( psz_parser - psz_dup == 1 )
{
msg_Warn( p_sout, "drive letter %c: found in source string",
*psz_dup ) ;
/* msg_Warn( p_sout, "drive letter %c: found in source string",
*psz_dup ) ; */
psz_parser = "";
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment