forked from mia/Aegisub
Fix fallbacks for invalid characters when converting charsets
r6632 made ConverterImpl have a vtable, which makes the iconv_fallbacks parent no longer the first thing in the object, so add an explicit cast. Originally committed to SVN as r6639.
This commit is contained in:
parent
2d9213cdfc
commit
e6697b1923
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ namespace {
|
|||
|
||||
int transliterate = 1;
|
||||
iconvctl(cd, ICONV_SET_TRANSLITERATE, &transliterate);
|
||||
iconvctl(cd, ICONV_SET_FALLBACKS, this);
|
||||
iconvctl(cd, ICONV_SET_FALLBACKS, static_cast<iconv_fallbacks*>(this));
|
||||
}
|
||||
}
|
||||
~ConverterImpl() {
|
||||
|
|
Loading…
Reference in a new issue