projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d3d45
)
fixed a test case
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Thu, 4 Mar 2021 18:46:19 +0000
(12:46 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Thu, 4 Mar 2021 18:46:19 +0000
(12:46 -0600)
tests/aoc-2020/day8.onyx
patch
|
blob
|
history
diff --git
a/tests/aoc-2020/day8.onyx
b/tests/aoc-2020/day8.onyx
index 139345a92a39eccce0a82ed388186a3b7dc613e0..49d18718d6abf802f3387e7b788dc352593e03f8 100644
(file)
--- a/
tests/aoc-2020/day8.onyx
+++ b/
tests/aoc-2020/day8.onyx
@@
-56,7
+56,7
@@
main :: (args: [] cstr) {
reader.skip_bytes(^file, 1);
sign := reader.read_byte(^file);
- val := reader.read_u32(^file);
+ val :=
cast(i32)
reader.read_u32(^file);
reader.advance_line(^file);