1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -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:
Marcel Raad 2017-05-08 20:23:44 +02:00
parent e076fdaf5b
commit dc1a1b5055
No known key found for this signature in database
GPG Key ID: B4668817AE6D6CD4

View File

@ -38,7 +38,7 @@ static void voutf(struct GlobalConfig *config,
const char *fmt, const char *fmt,
va_list ap) va_list ap)
{ {
size_t width = (79 - (int)strlen(prefix)); size_t width = (79 - strlen(prefix));
if(!config->mute) { if(!config->mute) {
size_t len; size_t len;
char *ptr; char *ptr;