mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix standard cylinder names
We need to pass the size as an integer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
83f0aefa5c
commit
6545855b65
1 changed files with 1 additions and 1 deletions
2
dive.c
2
dive.c
|
@ -552,7 +552,7 @@ static void match_standard_cylinder(cylinder_type_t *type)
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
len = snprintf(buffer, sizeof(buffer), fmt, rint(cuft));
|
len = snprintf(buffer, sizeof(buffer), fmt, (int)rint(cuft));
|
||||||
p = malloc(len + 1);
|
p = malloc(len + 1);
|
||||||
if (!p)
|
if (!p)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue