Unverified Commit dc1a1b50 authored by Marcel Raad's avatar Marcel Raad
Browse files

tool_msgs: remove wrong cast

Commit 481e0de0 changed the variable
type from int to size_t, so don't cast the result of strlen to int
anymore.
parent e076fdaf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;