> Roman Zippel <zippel@linux-m68k.org> writes:> > |> Hi,> |> > |> Linus Torvalds wrote:> [...]> |> > You just fixed the "re-use arguments" bug - which is a bug, but doesn't> |> > address the fact that most of the min/max bugs are due to the programmer> |> > _indending_ a unsigned compare because he didn't even think about the> |> > type.

#if 0If the comparison was made unsigned, cast to the largest naturalvalue on the target, while keeping the types and sizes of theinput variables the same, this macro does about what 99.9999999 percentof what everybody wants:#endif