fix casting issue in error message for 32bit CPUs (e.g. armv7)

This commit is contained in:
Wolfram Schneider committed 2022-01-31 18:30:07 +00:00
1 parent 6f47a72d8e
commit 1536d37b20
1 file changed
+1 -1
+1 -1
View File
@@ -296,7 +296,7 @@ fastfind
}
if (p - path >= LOCATE_PATH_MAX)
errx(1, "corrupted database: %s %ld", database, p - path);
errx(1, "corrupted database: %s %d", database, (int)(p - path));
}