summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-07-17 10:10:24 +0200
committerYorhel <git@yorhel.nl>2021-07-18 09:40:59 +0200
commitee92f403eff2f83964e0a4ba83277c9677566c76 (patch)
tree1ae7ed95ab7f9ed86d0481cc6c914ca8f6ece85b /src
parente9c8d12c0f14b6763e34a8d2bff16091499e8360 (diff)
Add Makefile with some standard/handy tools
+ a failed initial attempt at producing static binaries.
Diffstat (limited to 'src')
-rw-r--r--src/scan.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan.zig b/src/scan.zig
index 60fcaca..def9c1a 100644
--- a/src/scan.zig
+++ b/src/scan.zig
@@ -653,7 +653,7 @@ const Import = struct {
// (May store fewer characters in the case of \u escapes, it's not super precise)
fn string(self: *Self, buf: []u8) []u8 {
if (self.next() != '"') self.die("expected '\"'");
- var n: u64 = 0;
+ var n: usize = 0;
while (true) {
const ch = self.next();
switch (ch) {