mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
tool_msgs: remove wrong cast
Commit 481e0de00a
changed the variable
type from int to size_t, so don't cast the result of strlen to int
anymore.
This commit is contained in:
parent
e076fdaf5b
commit
dc1a1b5055
@ -38,7 +38,7 @@ static void voutf(struct GlobalConfig *config,
|
||||
const char *fmt,
|
||||
va_list ap)
|
||||
{
|
||||
size_t width = (79 - (int)strlen(prefix));
|
||||
size_t width = (79 - strlen(prefix));
|
||||
if(!config->mute) {
|
||||
size_t len;
|
||||
char *ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user