Ver código fonte

Fix compilation warning

master
Arun Prakash Jana 7 anos atrás
pai
commit
30fdb6ff11
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: A75979F35C080412
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      nnn.c

+ 2
- 2
nnn.c Ver arquivo

@@ -1465,9 +1465,9 @@ coolsize(off_t size)
if (i < 3 && rem >= frac) { size++; rem = 0; }

if (i > 0)
snprintf(size_buf, 12, "%" PRId64 ".%0*i%c", size, fdig, rem, U[i]);
snprintf(size_buf, 12, "%lu.%0*i%c", size, fdig, rem, U[i]);
else
snprintf(size_buf, 12, "%" PRId64 "%c", size, U[i]);
snprintf(size_buf, 12, "%lu%c", size, U[i]);

return size_buf;
}


Carregando…
Cancelar
Salvar