On Wednesday, December 3, 2014, Eduardo Valentin <edubezval@gmail.com> wrote:

Well, passing -1 to unsigned int will make it max unsigned int, your

Yeah, that's what I want.
 
function will return the first freq, which in the scenario I gave, it
would be the min freq, not the first max, right?

Are you sure you are reading the code correctly? Try one more
time :)