@sipa:

```
main.cpp:1163:114: error: no matching function for call to 'max(int, int64_t)'
     if (mapOrphanBlocksByPrev.size() <= (size_t)std::max(0, GetArg("-maxorphanblocks", DEFAULT_MAX_ORPHAN_BLOCKS)))
...
main.cpp:1163:114: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'int64_t {aka long long int}')
```

I don't know enough C++ to fix it.