chiark / gitweb /
debianutils: Update from 4.8.3 to 4.8.4
[termux-packages] / packages / hashdeep / hash.patch
1 diff --git a/src/hash.cpp b/src/hash.cpp
2 index 4216157..4c83454 100644
3 --- a/src/hash.cpp
4 +++ b/src/hash.cpp
5 @@ -279,7 +279,7 @@ void file_data_hasher_t::hash()
6                 MAP_FILE|
7  #endif
8                 MAP_SHARED,fd,0);
9 -           if(fdht->base>0){           
10 +           if(fdht->base>(void *)0){           
11                 /* mmap is successful, so set the bounds.
12                  * if it is not successful, we default to reading the fd
13                  */