mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-13 09:33:52 +00:00
general: add -Wshorten-64-to-32 compiler flag & suppress warnings
(ticket #351, props Axel Waggershauser)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* 2of5inter.c - Handles Code 2 of 5 Interleaved */
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2008-2025 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (C) 2008-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@@ -96,7 +96,7 @@ INTERNAL int zint_c25_inter_common(struct zint_symbol *symbol, unsigned char sou
|
||||
memcpy(d, "311", 3);
|
||||
d += 3;
|
||||
|
||||
z_expand(symbol, dest, d - dest);
|
||||
z_expand(symbol, dest, (int) (d - dest));
|
||||
|
||||
if (!dont_set_height) {
|
||||
if (symbol->output_options & COMPLIANT_HEIGHT) {
|
||||
|
||||
Reference in New Issue
Block a user