replace uint to wordcount_t for keil arm compiler