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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user