heap: fix few conversion bugs
heap: fix few conversion bugs

mgjv/libusual,rabbitt/libusual,markokr/libusual,mgjv/libusual,ifduyue/libusual,markokr/libusual,ifduyue/libusual,ifduyue/libusual,rabbitt/libusual,rabbitt/libusual,markokr/libusual,mgjv/libusual,mgjv/libusual,rabbitt/libusual,ifduyue/libusual,markokr/libusual