improve casting for pointer diffs

This commit is contained in:
Wolfram Schneider 2022-02-01 17:26:20 +00:00
parent 4daa31c108
commit 792df7ced2

View File

@ -296,7 +296,7 @@ fastfind
}
if (p - path >= LOCATE_PATH_MAX)
errx(1, "corrupted database: %s %d", database, (int)(p - path));
errx(1, "corrupted database: %s %zu", database, (size_t)(p - path));
}