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>
This commit is contained in:
Dirk Hohndel 2016-03-09 18:18:58 -08:00
parent ee6f60515c
commit f2c40907c5
3 changed files with 17 additions and 14 deletions

View file

@ -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