strtomp: fix mpbits() call in octal code

This commit is contained in:
aiju 2016-08-28 01:07:34 +02:00
parent 75990fc719
commit 261ec9fe0e

View file

@ -82,7 +82,7 @@ from8(char *a, mpint *b)
if(tab.t10[*(uchar*)p] >= 8)
break;
mpbits(b, (a-p)*3);
mpbits(b, (p-a)*3);
b->top = 0;
next = p;