Commit 3de41d49 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

All signedness fixes

parent 52831460
......@@ -267,8 +267,8 @@ struct announce_method_t
struct sap_session_t
{
char *psz_sdp;
char *psz_data;
int i_length;
uint8_t *psz_data;
unsigned i_length;
sap_address_t *p_address;
/* Last and next send */
......
......@@ -82,7 +82,9 @@ struct httpd_message_t
/* for a query */
char *psz_url;
char *psz_args; /* FIXME find a clean way to handle GET(psz_args) and POST(body) through the same code */
/* FIXME find a clean way to handle GET(psz_args)
and POST(body) through the same code */
uint8_t *psz_args;
/* for rtp over rtsp */
int i_channel;
......
......@@ -466,7 +466,7 @@ static int httpd_FileCallBack( httpd_callback_sys_t *p_sys, httpd_client_t *cl,
if( query->i_type != HTTPD_MSG_HEAD )
{
char *psz_args = query->psz_args;
uint8_t *psz_args = query->psz_args;
if( query->i_type == HTTPD_MSG_POST )
{
/* Check that */
......
......@@ -483,7 +483,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
psz_head[ i_header_size-1 ] = '\0';
p_sap_session->i_length = i_header_size + strlen( p_sap_session->psz_sdp);
p_sap_session->psz_data = (char *)malloc( sizeof(char)*
p_sap_session->psz_data = (uint8_t *)malloc( sizeof(char)*
p_sap_session->i_length );
/* Build the final message */
......@@ -665,7 +665,7 @@ static int SDPGenerate( sap_handler_t *p_sap, session_descriptor_t *p_session )
static int CalculateRate( sap_handler_t *p_sap, sap_address_t *p_address )
{
int i_read;
char buffer[SAP_MAX_BUFFER];
uint8_t buffer[SAP_MAX_BUFFER];
int i_tot = 0;
mtime_t i_temp;
int i_rate;
......
......@@ -59,7 +59,7 @@ static void DestroyThread ( vout_thread_t * );
static void AspectRatio ( int, int *, int * );
static int BinaryLog ( uint32_t );
static void MaskToShift ( int *, int *, uint32_t );
static void InitWindowSize ( vout_thread_t *, int *, int * );
static void InitWindowSize ( vout_thread_t *, unsigned *, unsigned * );
/* Object variables callbacks */
static int DeinterlaceCallback( vlc_object_t *, char const *,
......@@ -128,7 +128,7 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
p_vout = vlc_object_find( p_playlist,
VLC_OBJECT_VOUT, FIND_CHILD );
/* only first children of p_input for unused vout */
if( p_vout && p_vout->p_parent != p_playlist )
if( p_vout && p_vout->p_parent != (vlc_object_t *)p_playlist )
{
vlc_object_release( p_vout );
p_vout = NULL;
......@@ -1256,8 +1256,8 @@ static void MaskToShift( int *pi_left, int *pi_right, uint32_t i_mask )
* This function will check the "width", "height" and "zoom" config options and
* will calculate the size that the video window should have.
*****************************************************************************/
static void InitWindowSize( vout_thread_t *p_vout, int *pi_width,
int *pi_height )
static void InitWindowSize( vout_thread_t *p_vout, unsigned *pi_width,
unsigned *pi_height )
{
vlc_value_t val;
int i_width, i_height;
......
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