fix expression handling in itest
PATCH 1/1 fix expression handling in itest
Dear all,
Attached is a patch for cmd_itest.c
This fixes data access for .b and .w
If there are issues applying the patch feel free to mail me and I will resent from home.
And of course I am open to comments.
There is one note: the evalexp function returns a long.
For .b and .w access I choose to return an unsigned char resp unsigned short casted to long.
It is my impression that would be desirable, but if not, feel free to change (and it might also be desirable to change the long to unsigned long, but as that ripples up to the caller, I decided not to touch that part.
Best regards, Frans.