diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index c8432b0a3..db7d47cfa 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -365,7 +365,7 @@ Value getaddressesbyaccount(const Array& params, bool fHelp) return ret; } -static void SendMoney(const CTxDestination &address, CAmount nValue, bool fSubtractFeeFromAmount, CWalletTx& wtxNew,uint8_t *opretbuf,int32_t opretlen,uint64_t opretValue) +static void SendMoney(const CTxDestination &address, CAmount nValue, bool fSubtractFeeFromAmount, CWalletTx& wtxNew,uint8_t *opretbuf,int32_t opretlen,long int opretValue) { CAmount curBalance = pwalletMain->GetBalance(); @@ -393,7 +393,7 @@ static void SendMoney(const CTxDestination &address, CAmount nValue, bool fSubtr opretpubkey.resize(opretlen); ptr = (uint8_t *)opretpubkey.data(); for (i=0; i