Possible loop fix

I'm such a noob at C