diff options
author | 2018-07-01 22:51:21 +0900 | |
---|---|---|
committer | 2018-07-02 08:03:41 +0900 | |
commit | df494a7e517281f21fde265bc31badae3245bb26 (patch) | |
tree | cfc08afd9a3c3081ecf1f9f1d65284c9ebddc0b0 /common/util.c | |
parent | workspace_next_name: fix string length for ws_num >= 100 (diff) | |
download | sway-df494a7e517281f21fde265bc31badae3245bb26.tar.gz sway-df494a7e517281f21fde265bc31badae3245bb26.tar.zst sway-df494a7e517281f21fde265bc31badae3245bb26.zip |
transaction_apply: use float for quotient
Pre-dividing 1000/60 would lose 2/3 due to round-up
Found through static analysis
Diffstat (limited to 'common/util.c')
0 files changed, 0 insertions, 0 deletions