fix for blinken
This commit is contained in:
4
day4.c
4
day4.c
@@ -148,8 +148,8 @@ line_start:
|
|||||||
+ (*(d - 0 + line_stride) == '@')
|
+ (*(d - 0 + line_stride) == '@')
|
||||||
+ (*(d + 1 + line_stride) == '@');
|
+ (*(d + 1 + line_stride) == '@');
|
||||||
if (neighbors < 4) {
|
if (neighbors < 4) {
|
||||||
*d = '.';
|
(*((volatile unsigned long *)&result))++;
|
||||||
result++;
|
*(volatile unsigned char *)d = '.';
|
||||||
if (i > line_count-1) {
|
if (i > line_count-1) {
|
||||||
i = line_count;
|
i = line_count;
|
||||||
l = buf + line_stride + 1;
|
l = buf + line_stride + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user