fix compile warning: expects type 'unsigned int', but argument ... has type 'long unsigned int'

by using _STPF_ macro provided in System/maindefines.h