fix casting issue in error message for 32bit CPUs (e.g. armv7)
This commit is contained in:
parent
6f47a72d8e
commit
1536d37b20
@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user