Fixed one more location to get code C89 compliant.

int n = 0; was still not in beginning of scope.