linux PIString fix

This commit is contained in:
2022-04-25 23:39:33 +03:00
parent 44c52c40f1
commit a57e51bdf8

View File

@@ -238,7 +238,7 @@ void PIString::appendFromChars(const char * c, int s, const char * codepage) {
char c_ [s+1];
memcpy(c_, c, s);
c_[s] = '\0';
pc = &((const char *)c_);
pc = &(const char *)c_;
} else {
pc = &c;
}