fixed a false to pointer cast in bufferingfilter.hpp