This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Duft Markus wrote: > Hi > > I'm porting lots of stuff to windows (i know, *arg*...) and while doing > so i found something interesting in a C Source file: > > void* myptr = (void*)otherptr + 1; what about doing the conversion after incrementing the pointer? void *myptr = (void*)(otherptr + 1); -- Glen L. Beane Software Engineer II The Jackson Laboratory Phone (207) 288-6153
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |