Hi Oliver, Nasty one. I think it might be better to use INT64_MAX instead (explicitly casted, if that's necessary to silence a warning), it makes this kind of mistake impossible. Cheers. Tim. http://reviews.llvm.org/D6032