summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
authorCharles Crayne <chuck@thor.crayne.org>2007-10-18 21:17:20 -0700
committerCharles Crayne <chuck@thor.crayne.org>2007-10-18 21:17:20 -0700
commit46b31b0f08f31fa42c692061cd56d65a5feb6bbb (patch)
treecc85c9ede0bcb580dd7d85246bbcbb27f8066f64 /disasm.c
parent26573020d8618dc929cf27fa549f59298e3f70a2 (diff)
downloadnasm-46b31b0f08f31fa42c692061cd56d65a5feb6bbb.tar.gz
nasm-46b31b0f08f31fa42c692061cd56d65a5feb6bbb.tar.bz2
nasm-46b31b0f08f31fa42c692061cd56d65a5feb6bbb.zip
Suppress signedness warnings in disassembler
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm.c b/disasm.c
index 570f562..d541ac5 100644
--- a/disasm.c
+++ b/disasm.c
@@ -737,7 +737,7 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize,
dp = data;
ix = itable + *dp++;
- while (ix->n == (size_t)-1) {
+ while (ix->n == -1) {
ix = (const struct disasm_index *)ix->p + *dp++;
}