mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-30 06:45:28 -04:00
back-merged
This commit is contained in:
parent
6413351fd6
commit
d8330f5d96
13 changed files with 37 additions and 34 deletions
backend
|
@ -59,7 +59,7 @@ char itoc(const int source) {
|
|||
void bin_append(const int arg, const int length, char *binary) {
|
||||
int i;
|
||||
int start;
|
||||
int posn = strlen(binary);
|
||||
size_t posn = strlen(binary);
|
||||
|
||||
start = 0x01 << (length - 1);
|
||||
|
||||
|
@ -228,7 +228,7 @@ int is_extendable(const int symbology) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
int istwodigits(const unsigned char source[], const int position) {
|
||||
int istwodigits(const unsigned char source[], const size_t position) {
|
||||
if ((source[position] >= '0') && (source[position] <= '9')) {
|
||||
if ((source[position + 1] >= '0') && (source[position + 1] <= '9')) {
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue