weird problem with vs2010 and sqrt ambigious function

i fixed it. not sure if it is best practice.