aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/units.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/units.h')
-rw-r--r--subsurface-core/units.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/units.h b/subsurface-core/units.h
index 9ad4b7282..029bb64fa 100644
--- a/subsurface-core/units.h
+++ b/subsurface-core/units.h
@@ -99,7 +99,7 @@ typedef struct
typedef struct
{
- int32_t mkelvin; // up to 1750 degrees K
+ uint32_t mkelvin; // up to 1750 degrees K (temperatures in K are always positive)
} temperature_t;
typedef struct