From 1ef360e6ae96ca3e94fc73dccff8a14574101f15 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Thu, 2 Jun 2016 10:25:01 -0700 Subject: [PATCH] qmic: Add missing string type in structs Structs can contain strings, we still don't encode and decode these but this change makes the generated header file compilable. Signed-off-by: Bjorn Andersson --- qmi_struct.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qmi_struct.c b/qmi_struct.c index 9953cd3..ffa9dbf 100644 --- a/qmi_struct.c +++ b/qmi_struct.c @@ -7,6 +7,7 @@ static const char *sz_simple_types[] = { [TYPE_U16] = "uint16_t", [TYPE_U32] = "uint32_t", [TYPE_U64] = "uint64_t", + [TYPE_STRING] = "char *", }; struct qmi_struct_member {