aboutsummaryrefslogtreecommitdiff
path: root/qapi/qapi-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'qapi/qapi-util.c')
-rw-r--r--qapi/qapi-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/qapi-util.c b/qapi/qapi-util.c
index 1d8fb96eff..bcdc94d5a9 100644
--- a/qapi/qapi-util.c
+++ b/qapi/qapi-util.c
@@ -14,7 +14,7 @@
#include "qapi/error.h"
#include "qapi/util.h"
-int qapi_enum_parse(const char *lookup[], const char *buf,
+int qapi_enum_parse(const char * const lookup[], const char *buf,
int max, int def, Error **errp)
{
int i;