ポインタの型が異なる警告を修正
- wchar_t* 以外のポインタでもつかえるよう void* で持つようにした
- warning: incompatible pointer types initializing 'void **'
@@ -4201,21 +4201,21 @@ | ||
4201 | 4201 | */ |
4202 | 4202 | DllExport void TTSetUnInit(TTTSet *ts) |
4203 | 4203 | { |
4204 | - wchar_t **ptr_list[] = { | |
4205 | - &ts->HomeDirW, | |
4206 | - &ts->SetupFNameW, | |
4207 | - &ts->KeyCnfFNW, | |
4208 | - &ts->EtermLookfeel.BGThemeFileW, | |
4209 | - &ts->EtermLookfeel.BGSPIPathW, | |
4210 | - &ts->UILanguageFileW, | |
4211 | - &ts->UILanguageFileW_ini, | |
4212 | - &ts->ExeDirW, | |
4213 | - &ts->LogDirW, | |
4214 | - &ts->FileDirW, | |
4215 | - &ts->BGImageFilePathW, | |
4216 | - &ts->LogDefaultPathW, | |
4217 | - &ts->MacroFNW, | |
4218 | - &ts->LogFNW, | |
4204 | + void **ptr_list[] = { | |
4205 | + (void **)&ts->HomeDirW, | |
4206 | + (void **)&ts->SetupFNameW, | |
4207 | + (void **)&ts->KeyCnfFNW, | |
4208 | + (void **)&ts->EtermLookfeel.BGThemeFileW, | |
4209 | + (void **)&ts->EtermLookfeel.BGSPIPathW, | |
4210 | + (void **)&ts->UILanguageFileW, | |
4211 | + (void **)&ts->UILanguageFileW_ini, | |
4212 | + (void **)&ts->ExeDirW, | |
4213 | + (void **)&ts->LogDirW, | |
4214 | + (void **)&ts->FileDirW, | |
4215 | + (void **)&ts->BGImageFilePathW, | |
4216 | + (void **)&ts->LogDefaultPathW, | |
4217 | + (void **)&ts->MacroFNW, | |
4218 | + (void **)&ts->LogFNW, | |
4219 | 4219 | }; |
4220 | 4220 | int i; |
4221 | 4221 | for(i = 0; i < _countof(ptr_list); i++) { |