diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 14:52:13 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 14:52:13 -0700 |
commit | 6545855b6513ff39c6d0d7428a5e27508a821f0d (patch) | |
tree | 094919de011182265cce8ea709ec17baf48c2a22 /dive.c | |
parent | 83f0aefa5c72814d2bdd9468ffc9c2cd2c957502 (diff) | |
download | subsurface-6545855b6513ff39c6d0d7428a5e27508a821f0d.tar.gz |
Fix standard cylinder names
We need to pass the size as an integer.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r-- | dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |