In stp.h flush parameter is uint:
typedef void (*STP_CALLBACK_DEBUG_STR_OUT) (const struct STP_BRIDGE* bridge, int portIndex, int treeIndex, const char* nullTerminatedString, unsigned int stringLength, unsigned int flush);
In documentation StpCallback_DebugStrOut.html flush is bool type.
All usages inside stp_log.cpp provide true/false as flush argument