diff options
author | mydesktop <dev.mc2@gmail.com> | 2014-04-30 13:52:21 -0400 |
---|---|---|
committer | mydesktop <dev.mc2@gmail.com> | 2014-04-30 13:52:21 -0400 |
commit | 67df296650a72b8769fac58787148080ec771805 (patch) | |
tree | 121b2de24f67b7591b9e8ebda3bc9aa0c84ffbff /src/crypto | |
parent | prompt to delete build directory on 'make clean' (diff) | |
download | monero-67df296650a72b8769fac58787148080ec771805.tar.xz |
various fixes to allow mac osx compilation
Diffstat (limited to '')
-rw-r--r-- | src/crypto/oaes_lib.c | 1 | ||||
-rw-r--r-- | src/cryptonote_core/cryptonote_format_utils.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/oaes_lib.c b/src/crypto/oaes_lib.c index d77c52f11..126f0a2f6 100644 --- a/src/crypto/oaes_lib.c +++ b/src/crypto/oaes_lib.c @@ -37,6 +37,7 @@ static const char _NR[] = { #include <malloc.h> #include <string.h> #include <stdlib.h> +#include <stdio.h> #ifdef WIN32 #include <process.h> diff --git a/src/cryptonote_core/cryptonote_format_utils.h b/src/cryptonote_core/cryptonote_format_utils.h index 554e466cc..5873d2943 100644 --- a/src/cryptonote_core/cryptonote_format_utils.h +++ b/src/cryptonote_core/cryptonote_format_utils.h @@ -25,7 +25,7 @@ namespace cryptonote typedef std::pair<uint64_t, crypto::public_key> output_entry; std::vector<output_entry> outputs; //index + key - uint64_t real_output; //index in outputs vector of real output_entry + size_t real_output; //index in outputs vector of real output_entry crypto::public_key real_out_tx_key; //incoming real tx public key size_t real_output_in_tx_index; //index in transaction outputs vector uint64_t amount; //money |