We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I defined a macro as
#define min(a,b) (((a) < (b)) ? (a) : (b))
xfr_cnt = min(to_xfer, secsize - boff);
xfr_cnt= ((to_xfer < (secsize - boff)) ? (to_xfer) : (secsize - boff));
hi, try to avoid any spaces when pass arguments to macro which uses formal parameters. Another way - use additional brackets for complex arguments. Regards, Oleg