attached patch fixes a bunch of casts as l-value
Created attachment 94086 [details, diff] fix
Fixed in CVS. Thanks for the patch!