qemu/qemu/e68da5b7a2cd8f4635d3b253ac1581552a3df16f tests/qtest: fix discarded const qualifier warning
Modern compilers warn that the result of strstr() may discard
const qualifiers when assigned to a non-const pointer.
Make 'found' a const char * to fix the warning.
Signed-off-by: Matthew Penney <matt@matthewpenney.net>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
1 file changed