> if( whichconversion == 1 );
Yeah, those trailing ; are bad news.