1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-05-13 01:23:50 +00:00

general: add -Wshorten-64-to-32 compiler flag & suppress warnings

(ticket #351, props Axel Waggershauser)
This commit is contained in:
gitlost
2026-02-26 18:23:21 +00:00
parent 9ef5bc7298
commit bd33953fc1
24 changed files with 106 additions and 102 deletions

View File

@@ -161,7 +161,7 @@ INTERNAL int z_posn(const char set_string[], const char data) {
for (s = set_string; *s; s++) {
if (data == *s) {
return s - set_string;
return (int) (s - set_string);
}
}
return -1;