mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
SIGSEGV--
This commit is contained in:
parent
9c2fbd9e11
commit
a98fe56ca8
@ -1212,7 +1212,7 @@ int matrix89(struct zint_symbol *symbol, unsigned char source[])
|
||||
|
||||
/* Load master random stream */
|
||||
strcpy(master_random_stream, "");
|
||||
for(i = 0; i < 277; i++) {
|
||||
for(i = 0; i < 276; i++) {
|
||||
hex_segment = MasterRandomStream[i];
|
||||
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"); }
|
||||
|
Loading…
Reference in New Issue
Block a user