No, nothing wrong with it at all. As pretty much everyone else here has said, different people find different things attractive - some prefer blondes, others brunettes, some people find people who are sporty attractive, others don't. Personally I find guys who are very slim attractive.
If you were to pressure a girl into losing weight because you wanted to find her attractive, THEN there would be something wrong. Otherwise, you're fine.
Hope this helps.