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

Explicit casts to proper integer types when formatting

parent 84ab2958
......@@ -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 );
}
}
}
......
......@@ -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
);
......
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