mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-15 07:34:35 -04:00
SIGSEGV--
This commit is contained in:
parent
9c2fbd9e11
commit
a98fe56ca8
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ int matrix89(struct zint_symbol *symbol, unsigned char source[])
|
||||||
|
|
||||||
/* Load master random stream */
|
/* Load master random stream */
|
||||||
strcpy(master_random_stream, "");
|
strcpy(master_random_stream, "");
|
||||||
for(i = 0; i < 277; i++) {
|
for(i = 0; i < 276; i++) {
|
||||||
hex_segment = MasterRandomStream[i];
|
hex_segment = MasterRandomStream[i];
|
||||||
if(hex_segment & 0x80) { concat(master_random_stream, "1"); } else { concat(master_random_stream, "0"); }
|
if(hex_segment & 0x80) { concat(master_random_stream, "1"); } else { concat(master_random_stream, "0"); }
|
||||||
if(hex_segment & 0x40) { concat(master_random_stream, "1"); } else { concat(master_random_stream, "0"); }
|
if(hex_segment & 0x40) { concat(master_random_stream, "1"); } else { concat(master_random_stream, "0"); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue