aboutsummaryrefslogtreecommitdiff
path: root/mfd/drivers.c
diff options
context:
space:
mode:
Diffstat (limited to 'mfd/drivers.c')
-rw-r--r--mfd/drivers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mfd/drivers.c b/mfd/drivers.c
index 72c3b898..2263a9ed 100644
--- a/mfd/drivers.c
+++ b/mfd/drivers.c
@@ -2163,6 +2163,10 @@ code_cast(struct locus *locus, data_type_t fromtype, data_type_t totype)
case dtype_number:
code_op(opcode_ntos);
break;
+
+ case dtype_pointer:
+ parse_error_locus(locus,
+ _("Casts from pointer are not supported"));
}
return 0;
}

Return to:

Send suggestions and report system problems to the System administrator.