diff --git a/NEWS b/NEWS index 4e52ba89b..8abcffd47 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.23.16 (not yet released) +* database + - fix integer overflows with 64-bit inode numbers * support libfmt 11 * support ICU 76 diff --git a/src/db/update/Walk.cxx b/src/db/update/Walk.cxx index 4fdec28d9..14af4dd4d 100644 --- a/src/db/update/Walk.cxx +++ b/src/db/update/Walk.cxx @@ -153,7 +153,7 @@ update_directory_stat(Storage &storage, Directory &directory) noexcept */ static int FindAncestorLoop(Storage &storage, Directory *parent, - unsigned inode, unsigned device) noexcept + uint64_t inode, uint64_t device) noexcept { #ifndef _WIN32 if (device == 0 && inode == 0)