by cbrogrammer · 4y ago · 0 comments
The line of code is basically two lines:
(char*)hash_ptr.parm.v.p = (char*)hash_ptr.parm.v.p - 1; // move the pointer back by one byte
*((char*)hash_ptr.parm.v.p) = fpop(sst); //At the memory location, write the output of fpop(sst) (char*)hash_ptr.parm.v.p = (char*)hash_ptr.parm.v.p - 1;
is not legal C, neither is --(char*)hash_ptr.parm.v.p(If I were doing this, I'd probably change the p field to a char *. That's probably what it wants to be anyway. Then see what comes of that.)
http://port70.net/~nsz/c/c89/c89-draft.html#3.3.4
Footnote 36.