Altered incorrect fixed parameter in c code

Was typo - fixed after reviewing all parameters