diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 18:18:58 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 21:46:58 -0800 |
commit | f2c40907c53ac403e0354d97d7d2fc7ae701ee5e (patch) | |
tree | e4a4cddba8e29ad602f09db7a3e29a4fd9cfc40e /subsurface-core/units.h | |
parent | ee6f60515cbb22d3946780e7a9bbfcc38133121c (diff) | |
download | subsurface-f2c40907c53ac403e0354d97d7d2fc7ae701ee5e.tar.gz |
Clean up signedness confusion in dive.c
This started out as cleaning up warnings - but it actually turned into a
matter of semantics and correctness. Which lead to changes in .h files
which will have a ton of ripple effects.
A lot more of this to come.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/units.h')
-rw-r--r-- | subsurface-core/units.h | 2 |
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 |