aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/language.c b/gdb/language.c
index 445e816..44aea1e 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -842,6 +842,7 @@ binop_type_check(arg1,arg2,op)
break;
case BINOP_REM:
+ case BINOP_MOD:
if (!integral_type(t1) || !integral_type(t2))
type_op_error ("Arguments to %s must be of integral type.",op);
break;