- Fix unit test dname log printout typecast.

This commit is contained in:
W.C.A. Wijngaards
2025-03-27 10:47:20 +01:00
parent 23273d76a5
commit aa77d02336
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -998,7 +998,7 @@ dname_test_str(sldns_buffer* buff)
unit_assert( pkt_dname_len(buff) == 3);
dname_str(sldns_buffer_begin(buff), result);
if(strcmp( "?.", result) != 0 ) {
log_err("ASCII value '0x%lX' allowed in string output", i);
log_err("ASCII value '0x%lX' allowed in string output", (unsigned long)i);
unit_assert(0);
}
}