[Python-Dev] Objects/bufferobject.c (original) (raw)

Martin v. Löwis martin at v.loewis.de
Thu Mar 25 11:28:50 EST 2004


i'm using gcc-cvs and i get "invalid lvalue..." in Objects/bufferobject.c, line 46 i fix this by deleting the cast to char on the left side of = (my c's not so sharp, so i'm not sure this is the way to fix it) but i just wanted to point out the problem hoping someone might know what to do with it...

Thanks for pointing that out. I just fixed it in bufferobject.c 2.24 to read

*(char **)ptr = *(char **)ptr + offset;

Regards, Martin



More information about the Python-Dev mailing list