From 8bebd2a32eef9c8a9aa3748d06dd4c1829412ae9 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Fri, 1 Dec 2017 22:46:48 -0800 Subject: [PATCH] fix warning on MSVC 'function' : different 'const' qualifiers Change-Id: I855e94e8734a7e9a6156c771a7bad41b19a450d7 --- examples/webpmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/webpmux.c b/examples/webpmux.c index 59327ac2..aa6734fe 100644 --- a/examples/webpmux.c +++ b/examples/webpmux.c @@ -528,7 +528,7 @@ static void DeleteConfig(Config* const config) { if (config != NULL) { free(config->args_); if (config->own_argv_) { - free(config->argv_); + free((void*)config->argv_); WebPDataClear(&config->argv_data_); } memset(config, 0, sizeof(*config));