On Wednesday, February 22, 2012 15:16 CET, Riccardo
Mottola<riccardo.mottola@libero.it> wrote:
Hmm,
I notice that the code assagines in several places NSNotFound to a
variable of NSComparisonResult. I feel this is wrong, since it is not
defined in the enum and the type allocated for NSComparisonResult by the
compiler could be different of the one of NSNotFound.
Any suggestions on how to fix this? NSComparisonResult is most probably
signed since it starts with -1.
I think this is totally stupid, and was maybe just incidentally working before
the NSNotFound change?
We should probably use one of the three values from the _NSComparisonResult
enum from Foundation/NSObjCRuntime.h