mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: make a variable signed
The prev_time variable was defined as unsigned and mixed with signed variables. gcc rightfully complains with -Wextra. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
c43311614e
commit
4f1034b605
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ int parse_txt_file(const char *filename, const char *csv, struct dive_table *tab
|
|||
int prev_depth = 0, cur_sampletime = 0, prev_setpoint = -1, prev_ndl = -1;
|
||||
bool has_depth = false, has_setpoint = false, has_ndl = false;
|
||||
char *lineptr, *key, *value;
|
||||
unsigned int prev_time = 0;
|
||||
int prev_time = 0;
|
||||
cylinder_t cyl = empty_cylinder;
|
||||
|
||||
struct dive *dive;
|
||||
|
|
Loading…
Add table
Reference in a new issue