Fix float / double mismatch.