summaryrefslogtreecommitdiff
path: root/src/tcutil/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcutil/tests')
-rw-r--r--src/tcutil/tests/tcumttest.c16
-rw-r--r--src/tcutil/tests/tcutest.c16
2 files changed, 16 insertions, 16 deletions
diff --git a/src/tcutil/tests/tcumttest.c b/src/tcutil/tests/tcumttest.c
index f182d04..f77739e 100644
--- a/src/tcutil/tests/tcumttest.c
+++ b/src/tcutil/tests/tcumttest.c
@@ -318,11 +318,11 @@ static int proccombo(int tnum, int rnum, int bnum, bool tr, bool rnd){
}
}
if(tr){
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcndbrnum(ndb));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcndbmsiz(ndb));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcndbrnum(ndb));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcndbmsiz(ndb));
} else {
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcmdbrnum(mdb));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcmdbmsiz(mdb));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcmdbrnum(mdb));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcmdbmsiz(mdb));
}
tcndbdel(ndb);
tcmdbdel(mdb);
@@ -376,11 +376,11 @@ static int proctypical(int tnum, int rnum, int bnum, bool tr, bool nc, int rrati
}
}
if(tr){
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcndbrnum(ndb));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcndbmsiz(ndb));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcndbrnum(ndb));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcndbmsiz(ndb));
} else {
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcmdbrnum(mdb));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcmdbmsiz(mdb));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcmdbrnum(mdb));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcmdbmsiz(mdb));
}
tcndbdel(ndb);
tcmdbdel(mdb);
diff --git a/src/tcutil/tests/tcutest.c b/src/tcutil/tests/tcutest.c
index a9f2e80..f5467f6 100644
--- a/src/tcutil/tests/tcutest.c
+++ b/src/tcutil/tests/tcutest.c
@@ -576,8 +576,8 @@ static int procmap(int rnum, int bnum, bool rd, bool tr, bool rnd, int dmode){
}
if(rnd && rnum > 250) iprintf(" (%08d)\n", inum);
}
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcmaprnum(map));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcmapmsiz(map));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcmaprnum(map));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcmapmsiz(map));
sysprint();
tcmapdel(map);
iprintf("time: %.3f\n", tctime() - stime);
@@ -652,8 +652,8 @@ static int proctree(int rnum, bool rd, bool tr, bool rnd, int dmode){
}
if(rnd && rnum > 250) iprintf(" (%08d)\n", inum);
}
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tctreernum(tree));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tctreemsiz(tree));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tctreernum(tree));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tctreemsiz(tree));
sysprint();
tctreedel(tree);
iprintf("time: %.3f\n", tctime() - stime);
@@ -728,8 +728,8 @@ static int procmdb(int rnum, int bnum, bool rd, bool tr, bool rnd, int dmode){
}
if(rnd && rnum > 250) iprintf(" (%08d)\n", inum);
}
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcmdbrnum(mdb));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcmdbmsiz(mdb));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcmdbrnum(mdb));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcmdbmsiz(mdb));
sysprint();
tcmdbdel(mdb);
iprintf("time: %.3f\n", tctime() - stime);
@@ -804,8 +804,8 @@ static int procndb(int rnum, bool rd, bool tr, bool rnd, int dmode){
}
if(rnd && rnum > 250) iprintf(" (%08d)\n", inum);
}
- iprintf("record number: %" PRIuMAX "\n", (uint64_t)tcndbrnum(ndb));
- iprintf("size: %" PRIuMAX "\n", (uint64_t)tcndbmsiz(ndb));
+ iprintf("record number: %" PRIu64 "\n", (uint64_t)tcndbrnum(ndb));
+ iprintf("size: %" PRIu64 "\n", (uint64_t)tcndbmsiz(ndb));
sysprint();
tcndbdel(ndb);
iprintf("time: %.3f\n", tctime() - stime);