uc2_merkle_root() and uc2_dict_id() return uint64_t; the int _r temporaries from 97e05ad's NDEBUG fix truncated the high 32 bits. Under Release the assertion was stripped, hiding the bug; under Debug the truncated _r never matched the second uint64_t call.