On Wednesday 26 January 2011, Jaroslaw Staniek wrote: > is it known that if a was allocated before > b, then a < b? Depends, I guess :) In general it is wrong. Unless if those are elements of an array...
>From what I can seen in the code "a==b?0:1" would not be enough, but (char*)a-(char*)b is equivalent to (void*)a-(void*)b. -- Cyrille Berger Skott _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel