From dbf8174fc6f8be9e6d1e62a627388fa23eb2308f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 15 Dec 2014 15:12:31 +0100 Subject: [PATCH] Update usage of ExtVMFace --- libevmjit-cpp/Env.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libevmjit-cpp/Env.cpp b/libevmjit-cpp/Env.cpp index 2ea26fb4a..11761faf9 100644 --- a/libevmjit-cpp/Env.cpp +++ b/libevmjit-cpp/Env.cpp @@ -58,7 +58,7 @@ extern "C" _env->subBalance(endowment); u256 gas; // TODO: Handle gas OnOpFunc onOp {}; // TODO: Handle that thing - h256 address(_env->create(endowment, &gas, {_initBeg, _initSize}, onOp), h256::AlignRight); + h256 address(_env->create(endowment, gas, {_initBeg, _initSize}, onOp), h256::AlignRight); *o_address = address; } else @@ -79,7 +79,7 @@ extern "C" OnOpFunc onOp {}; // TODO: Handle that thing auto codeAddress = right160(*_codeAddress); auto gas = llvm2eth(*io_gas); - auto ret = _env->call(receiveAddress, value, inRef, &gas, outRef, onOp, {}, codeAddress); + auto ret = _env->call(receiveAddress, value, inRef, gas, outRef, onOp, {}, codeAddress); *io_gas = eth2llvm(gas); return ret; }