As reported by Paweł Sikora, the attached fix is required by GCC 4 due to elimination of lvalue in assignments. Resolves bugzilla #264 Phil