fix: build on recent gcc13 (ref #561)

This commit is contained in:
jeefo 2024-05-07 23:11:21 +03:00
commit 68a906e32d
No known key found for this signature in database
GPG key ID: D696786B81B667C8
2 changed files with 3 additions and 3 deletions

View file

@ -268,8 +268,8 @@ public:
const IntArray &getNodesInBucket (const Vector &pos);
public:
size_t getMaxRouteLength () const {
return m_paths.length () / 2;
int32_t getMaxRouteLength () const {
return length () / 2;
}
StringRef getAuthor () const {