summaryrefslogtreecommitdiffstats
path: root/core/cochran.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cochran.c')
-rw-r--r--core/cochran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cochran.c b/core/cochran.c
index 5929a7a27..f447a846a 100644
--- a/core/cochran.c
+++ b/core/cochran.c
@@ -584,7 +584,7 @@ static void cochran_parse_samples(struct dive *dive, const unsigned char *log,
sample->stoptime.seconds = deco_time;
sample->stopdepth.mm = lrint(deco_ceiling * FEET * 1000);
sample->temperature.mkelvin = C_to_mkelvin((temp - 32) / 1.8);
- sample->sensor = 0;
+ sample->sensor[0] = 0;
sample->pressure[0].mbar = lrint(psi * PSI / 100);
finish_sample(dc);