The routines print_asc() and print_data() are taking a pointer to what is used as a read only untyped data stream with a length parameter. The HP C compiler for VMS is diagnosing a type mismatch when unsigned data is passed. To more accurately reflect how these routines are used they can be changed to be as below. static void print_asc(const void * buf1, int len) { unsigned char * buf; int i; buf = (unsigned char *)buf1; . . . static void print_data(const void * buf1, int len) { unsigned char * buf; int i; buf = (unsigned char *)buf1; .....
Closing the bug as fixed. The current code has static void print_asc(const char *buf,int len) static void print_data(const char *buf,int len) Please re-open if it's still an issue with current master. Thanks, Volker