mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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:
|
||||
return;
|
||||
}
|
||||
len = snprintf(buffer, sizeof(buffer), fmt, rint(cuft));
|
||||
len = snprintf(buffer, sizeof(buffer), fmt, (int)rint(cuft));
|
||||
p = malloc(len + 1);
|
||||
if (!p)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue