frano wrote:
I have the following code:
struct unit_struct {
unsigend char *version[LEN]; ULONG board_id; unsigned char *unit[LEN];
};
This is a very strange struct given how you're calling binToText(). Is version really an array of _pointers_ to unsigned chars? Did you mean "unsigned char version[LEN}" instead, which is an array of unsigned chars of length "LEN"?

Please show more code, especially the code that populates the "version" and "unit" fields.

Dave

Reply via email to