summaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-08-03 13:41:33 +1200
committerDavid Phillips <david@sighup.nz>2019-08-03 14:00:37 +1200
commitf0f5c379513ada7482aa4ead08df1043e9c7d267 (patch)
treeca31b963649513642d2b7dd05ef7ace19a9b48e7 /parse.h
parent28d6a88c02f10b75fb4c5cb46178d2ef71629494 (diff)
downloadtoy-cpu-assembler-f0f5c379513ada7482aa4ead08df1043e9c7d267.tar.xz
Enable -Wall and -Wextra, fix warnings
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.h b/parse.h
index a240313..5feb420 100644
--- a/parse.h
+++ b/parse.h
@@ -14,7 +14,7 @@ struct label {
union immediate {
const char *label;
- int16_t value;
+ uint16_t value;
};
struct r_type {