Tough warning, really. (https://sqlite.org/src/info/8edb983bc87898ef) > No, the cast patch alone does not alter the way Embarcadero's C++ Builder compiles the for loop. Thanks for trying. I couldn't actually think of a reason it would help. Just that it seems a strange bug for a widely-distributed compiler to have, so I thought it might be some strange strict aliasing optimization. Dan.