Permalink
Browse files

Big int fix

  • Loading branch information...
1 parent 0387b7b commit 5619b9bde1ebc47a81b4559bc84be8062adb4f4f Edwin Brady committed Dec 16, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 evm/stdfuns.c
  2. +1 −1 evm/stdfuns.h
View
4 evm/stdfuns.c
@@ -374,9 +374,9 @@ mpz_t* strToBigInt(char* str)
return answer;
}
-mpz_t* intToBigInt(int x)
+void* intToBigInt(int x)
{
- return NEWBIGINTI(x);
+ return MKINT(x);
}
char* bigIntToStr(mpz_t x)
View
2 evm/stdfuns.h
@@ -64,7 +64,7 @@ char* floatToStr(double x);
double intToFloat(int x);
int floatToInt(double x);
-mpz_t* intToBigInt(int x);
+void* intToBigInt(int x);
mpz_t* strToBigInt(char* str);
char* bigIntToStr(mpz_t x);

0 comments on commit 5619b9b

Please sign in to comment.