------- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-20 01:46 ------- I think this is valid code as you specify max<T>(b, args...) which means the type for the first template argument will be unsigned so it will convert the second argument to unsigned int.
Isn't that correct? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34877