Skip to content
Snippets Groups Projects
  • Yorhel's avatar
    a61c784b
    Use int instead of long for struct dir->items · a61c784b
    Yorhel authored
    2 billion files should be enough for everyone. You probably won't have
    enough memory to scan such a filesystem. int is a better choice than
    long, as sizeof(int) is 4 on pretty much any system where ncdu runs.
    a61c784b
    History
    Use int instead of long for struct dir->items
    Yorhel authored
    2 billion files should be enough for everyone. You probably won't have
    enough memory to scan such a filesystem. int is a better choice than
    long, as sizeof(int) is 4 on pretty much any system where ncdu runs.