The parameter s is defined as pointer to float
void pH(float *s)
but you call pH in case 1 with a value parameter
pH(data[i].pH);
You have two options:
1.) Change the signature of the method pH to
void pH(float s)
2.) Change the part where you call the method pH to
pH(&(data[i].pH));
Personally I would choose option 1.
I hope it helps.