added static_cast where needed

Conflicts:
	src/bitcoin/escrowpool.cpp
	src/bitcoin/sampleescrowserver.cpp
	src/bitcoin/sampleescrowserver.hpp