ibrdtn/ibrdtn — pull request #45 by SebastianSchildt (2014-08-27 12:35:13+00:00)
Title: Missing cast from reference to pointer

OS X/clang build failed with

Logger.cpp:169:8: error: cannot cast from type 'std::ostream' (aka 'basic_ostream') to pointer type 'void *'
if ((void*)stream == (void*)output._stream)
^~~~~~~~~~~~~
Logger.cpp:169:25: error: cannot cast from type 'std::ostream' (aka 'basic_ostream') to pointer type 'void *'
if ((void*)stream == (void*)output._stream)
^~~~~~~~~~~~~~~~~~~~~

because stream and LoggerOutput._stream are references. Need an & operator before casting