aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ia64-opc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/ia64-opc.c')
-rw-r--r--opcodes/ia64-opc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/ia64-opc.c b/opcodes/ia64-opc.c
index c054b3d..c2ddc87 100644
--- a/opcodes/ia64-opc.c
+++ b/opcodes/ia64-opc.c
@@ -740,7 +740,8 @@ ia64_find_dependency (index)
{
index = DEP(index);
- if (index < 0 || index >= sizeof(dependencies) / sizeof(dependencies[0]))
+ if (index < 0
+ || index >= (int)(sizeof(dependencies) / sizeof(dependencies[0])))
return NULL;
return &dependencies[index];