mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:14:14 +08:00
mdbx-tools: fix minor MSVC warnings.
Change-Id: If8b042e2d84bfed7f8b0a81a4d75d7be7e7aa7a9
This commit is contained in:
parent
aa52cb395f
commit
3c684010e3
@ -97,7 +97,7 @@ const char *only_subdb;
|
||||
|
||||
struct problem {
|
||||
struct problem *pr_next;
|
||||
uint64_t count;
|
||||
size_t count;
|
||||
const char *caption;
|
||||
};
|
||||
|
||||
@ -221,8 +221,8 @@ static struct problem *problems_push(void) {
|
||||
return p;
|
||||
}
|
||||
|
||||
static uint64_t problems_pop(struct problem *list) {
|
||||
uint64_t count = 0;
|
||||
static size_t problems_pop(struct problem *list) {
|
||||
size_t count = 0;
|
||||
|
||||
if (problems_list) {
|
||||
int i;
|
||||
@ -231,7 +231,7 @@ static uint64_t problems_pop(struct problem *list) {
|
||||
for (i = 0; problems_list; ++i) {
|
||||
struct problem *p = problems_list->pr_next;
|
||||
count += problems_list->count;
|
||||
print("%s%s (%" PRIu64 ")", i ? ", " : "", problems_list->caption,
|
||||
print("%s%s (%" PRIuPTR ")", i ? ", " : "", problems_list->caption,
|
||||
problems_list->count);
|
||||
mdbx_free(problems_list);
|
||||
problems_list = p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user