Explicit casts to proper integer types when formatting

This commit is contained in:
Rémi Denis-Courmont 2007-09-13 20:29:32 +00:00
parent 84ab2958b9
commit 3c80258576
2 changed files with 5 additions and 3 deletions

View File

@ -626,7 +626,9 @@ static int ParseVobSubIDX( demux_t *p_demux )
ms ) * 1000;
current_tk->i_delay = current_tk->i_delay + (i_gap * i_sign);
msg_Dbg( p_demux, "sign: %+d gap: %+lld global delay: %+lld", i_sign, i_gap, current_tk->i_delay );
msg_Dbg( p_demux, "sign: %+d gap: %+lld global delay: %+lld",
i_sign, (long long)i_gap,
(long long)current_tk->i_delay );
}
}
}

View File

@ -129,7 +129,7 @@ void DeleteQueue ( audioscrobbler_queue_t *p_queue );
/* HTTP POST request : to submit data */
#define POST_REQUEST "POST /%s HTTP/1.1\n" \
"Accept-Encoding: identity\n" \
"Content-length: %d\n" \
"Content-length: %u\n" \
"Connection: close\n" \
"Content-type: application/x-www-form-urlencoded\n" \
"Host: %s\n" \
@ -421,7 +421,7 @@ static void Main( intf_thread_t *p_this )
i_net_ret = net_Printf(
VLC_OBJECT(p_this), i_post_socket, NULL,
POST_REQUEST, p_sys->psz_submit_file,
strlen( psz_submit ), p_sys->psz_submit_file,
(unsigned)strlen( psz_submit ), p_sys->psz_submit_file,
VERSION, psz_submit
);