diff options
Diffstat (limited to 'qobject')
-rw-r--r-- | qobject/qdict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qobject/qdict.c b/qobject/qdict.c index b0c5364506..291eef1a19 100644 --- a/qobject/qdict.c +++ b/qobject/qdict.c @@ -743,7 +743,7 @@ static int qdict_is_list(QDict *maybe_list, Error **errp) for (ent = qdict_first(maybe_list); ent != NULL; ent = qdict_next(maybe_list, ent)) { - if (qemu_strtoll(ent->key, NULL, 10, &val) == 0) { + if (qemu_strtoi64(ent->key, NULL, 10, &val) == 0) { if (is_list == -1) { is_list = 1; } else if (!is_list) { |