follow-up build bit for OpenVMS

This commit is contained in:
nhmall
2025-08-28 12:13:12 -04:00
parent b576ead25a
commit 506e9cdd8f

View File

@@ -382,9 +382,20 @@ sf_log(NHFILE *nhfp, const char *t1, size_t sz, int cnt, char *txtvalue)
if (fp && dolog) {
iocount = ((nhfp->mode & WRITING) == 0) ? &nhfp->rcount : &nhfp->wcount;
(void) fprintf(fp, "%08ld %s sz=%zu cnt=%d |%s|\n",
*iocount,
t1, sz, cnt, txtvalue);
(void) fprintf(fp,
#ifndef VMS
"%08ld %s sz=%zu cnt=%d |%s|\n",
#else
"%08ld %s sz=%lu cnt=%d |%s|\n",
#endif
*iocount,
t1,
#ifndef VMS
sz,
#else
(unsigned long) sz,
#endif
cnt, txtvalue);
// (*iocount)++;
// if (*iocount == 87)
// __debugbreak();