linux PIString fix
This commit is contained in:
@@ -235,10 +235,10 @@ void PIString::appendFromChars(const char * c, int s, const char * codepage) {
|
||||
memset(&state, 0, sizeof(state));
|
||||
const char ** pc;
|
||||
if (s > 0) {
|
||||
const char c_ [s+1];
|
||||
char c_ [s+1];
|
||||
memcpy(c_, c, s);
|
||||
c_[s] = '\0';
|
||||
pc = &c_;
|
||||
pc = &((const char *)c_);
|
||||
} else {
|
||||
pc = &c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user