diff --git a/src/derep_prefix.cc b/src/derep_prefix.cc index 54e10ddd..445e9ff6 100644 --- a/src/derep_prefix.cc +++ b/src/derep_prefix.cc @@ -109,7 +109,7 @@ auto derep_compare_prefix(const void * a, const void * b) -> int return -1; } - int const result = std::strcmp(db_getheader(lhs->seqno_first), + auto const result = std::strcmp(db_getheader(lhs->seqno_first), db_getheader(rhs->seqno_first)); if (result != 0) {