diff options
Diffstat (limited to 'utils/convenience')
-rw-r--r-- | utils/convenience/convenience.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/convenience/convenience.c b/utils/convenience/convenience.c index 517dc4e..00cc2cc 100644 --- a/utils/convenience/convenience.c +++ b/utils/convenience/convenience.c @@ -49,9 +49,11 @@ double atofs(char *s) case 'g': case 'G': suff *= 1e3; + /* fall-through */ case 'm': case 'M': suff *= 1e3; + /* fall-through */ case 'k': case 'K': suff *= 1e3; @@ -76,9 +78,11 @@ double atoft(char *s) case 'h': case 'H': suff *= 60; + /* fall-through */ case 'm': case 'M': suff *= 60; + /* fall-through */ case 's': case 'S': suff *= atof(s); |