https://bugs.openldap.org/show_bug.cgi?id=8890
--- Comment #18 from tg@debian.org tg@debian.org --- On Sat, 21 Sep 2024, tg@debian.org wrote:
AIUI, this should likely be something like:
… make that…
+- keys[0].bv_val = ch_malloc( LDAP_PVT_INTTYPE_CHARS(long) ); ++ keys[0].bv_val = ch_malloc( LDAP_PVT_INTTYPE_CHARS(long long) ); + keys[0].bv_len = snprintf(keys[0].bv_val, +- LDAP_PVT_INTTYPE_CHARS(long), ++ LDAP_PVT_INTTYPE_CHARS(long long), +- "%ld", slap_get_time()); ++ "%lld", (long long)slap_get_time());
… of course. (It’s 03:04 in the night, and re-reading those comments from above was not effortless.)
bye, //mirabilos