fix warning on MSVC

'function' : different 'const' qualifiers

Change-Id: I855e94e8734a7e9a6156c771a7bad41b19a450d7
This commit is contained in:
Pascal Massimino 2017-12-01 22:46:48 -08:00
parent a7f93fe32d
commit 8bebd2a32e

View File

@ -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));