summaryrefslogtreecommitdiffstats
path: root/lib/ubsan.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ubsan.h')
-rw-r--r--lib/ubsan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubsan.h b/lib/ubsan.h
index 0982578fbd..07e37d4429 100644
--- a/lib/ubsan.h
+++ b/lib/ubsan.h
@@ -43,7 +43,7 @@ enum {
struct type_descriptor {
u16 type_kind;
u16 type_info;
- char type_name[1];
+ char type_name[];
};
struct source_location {