build fix for util

This commit is contained in:
nhmall
2026-05-27 20:51:51 -04:00
parent f88d410ba2
commit 4e80fda312
+3
View File
@@ -779,7 +779,9 @@ compare_critical_bytes(NHFILE *nhfp, int *idx_1st_mismatch, unsigned long utdfla
for (i = 0; i < (int) file_csc_count; ++i) {
Sfi_uchar(nhfp, &cscbuf[i], "critical_sizes");
}
for (i = 1; i < cnt; ++i) {
#ifndef SFCTOOL
if (cscbuf[i] != critical_sizes[i].ucsize && i == cnt - 1) {
/* SAVEFILE_REVISION_LEVEL mismatch; attempt to deal with it */
int file_rev_level = cscbuf[i];
@@ -789,6 +791,7 @@ compare_critical_bytes(NHFILE *nhfp, int *idx_1st_mismatch, unsigned long utdfla
cscbuf))
continue;
}
#endif
if (cscbuf[i] != critical_sizes[i].ucsize) {
const char *dm = datamodel(0), *dmfile;