diff options
Diffstat (limited to 'src/entropy/proc_walk/es_ftw.cpp')
-rw-r--r-- | src/entropy/proc_walk/es_ftw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entropy/proc_walk/es_ftw.cpp b/src/entropy/proc_walk/es_ftw.cpp index ce359f03f..5d58f9869 100644 --- a/src/entropy/proc_walk/es_ftw.cpp +++ b/src/entropy/proc_walk/es_ftw.cpp @@ -127,14 +127,14 @@ FTW_EntropySource::~FTW_EntropySource() void FTW_EntropySource::poll(Entropy_Accumulator& accum) { - const u32bit MAX_FILES_READ_PER_POLL = 1024; + const size_t MAX_FILES_READ_PER_POLL = 1024; if(!dir) dir = new Directory_Walker(path); MemoryRegion<byte>& io_buffer = accum.get_io_buffer(128); - for(u32bit i = 0; i != MAX_FILES_READ_PER_POLL; ++i) + for(size_t i = 0; i != MAX_FILES_READ_PER_POLL; ++i) { int fd = dir->next_fd(); |