summaryrefslogtreecommitdiff
path: root/gdb/typeprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/typeprint.c')
-rw-r--r--gdb/typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
index 1f824faafb2..8133ad03be6 100644
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -236,7 +236,7 @@ print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream)
break;
case TYPE_CODE_CHAR:
- LA_PRINT_CHAR ((unsigned char) val, stream);
+ LA_PRINT_CHAR ((unsigned char) val, type, stream);
break;
case TYPE_CODE_BOOL: