diff options
author | Florian Jung <flo@windfisch.org> | 2011-04-11 12:41:47 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-04-11 12:41:47 +0000 |
commit | 51eda45715625b6da768e670388510c91b01ff5c (patch) | |
tree | ea80c654eedddd2693833c54ff51f5ae9a0baa71 /attic/muse2-oom/muse2/plugins | |
parent | be4e0679ad4a847f7b3f7e9cb85e54be2f32085f (diff) |
fixed division bug by adding divide_floor() function
previously, integer divisions were used. however, i need
rounding always down, but operator/ rounds towards zero.
( -2 / 7 = 0, but should be -1)
plus some cosmetic stuff (ints->unsigneds, removed some warnings)
Diffstat (limited to 'attic/muse2-oom/muse2/plugins')
0 files changed, 0 insertions, 0 deletions