Skip to content
Commit db4df20d authored by Fam Zheng's avatar Fam Zheng Committed by Peter Maydell
Browse files

trace: Fix 'char **' compilation error in simple backend



Currently, the generated function body will do "strlen(arg)" but the
argument could be 'char **' or 'char * const *'. Avoid that by excluding
such cases in is_string check.

Reported by patchew's "make docker-test-mingw@fedora".

Suggested-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Message-id: 1477453806-21097-1-git-send-email-famz@redhat.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 835f3d24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment