*** no comment ***
This commit is contained in:
parent
b8a6f99467
commit
9e9a7f62bc
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sign) {
|
if (sign) {
|
||||||
char * newbuf = new char[std::strlen(result ? result : buf) + 2];
|
char * newbuf = new char[std::strlen(result ? result : buf) + 4];
|
||||||
newbuf[0] = '-';
|
newbuf[0] = '-';
|
||||||
std::strcpy(&newbuf[1], result ? result : buf);
|
std::strcpy(&newbuf[1], result ? result : buf);
|
||||||
mpz_set_str(dest, newbuf, 10);
|
mpz_set_str(dest, newbuf, 10);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue