Message266305
Casting the pointer is OK, explicitly typing the pointer is even better; then the arithmetic is even clearer and it is easy to add offsets in words! However what I'd prefer here as the size of the type is important, to use `uint16_t` or typedef instead of just `unsigned short`, which is a statemeent that the value must be at least "2 bytes wide". | |
| Date | User | Action | Args | | 2016-05-25 06:01:24 | ztane | set | recipients: + ztane, mark.dickinson, vstinner, serhiy.storchaka, Demur Rumed, Adrian Wielgosik | | 2016-05-25 06:01:24 | ztane | set | messageid: <1464156084.93.0.875459302492.issue27097@psf.upfronthosting.co.za> | | 2016-05-25 06:01:24 | ztane | link | issue27097 messages | | 2016-05-25 06:01:24 | ztane | create | | |