> OK - curious how newer 'mo-better' compilers did not catch this....

My guess is that because we have something like this:

uint8_t blah;
uint16_t foo;

foo = (uint64_t) blah;

Casting from uint8 to uint64 to uint16 (the last being implicit from the 
assignment) cannot result in actual data loss.  A 'mo-better' compiler could 
have figured this out.
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to