commit | 4eac3cf93325a401f8a8ee82cb06b64a22f5d219 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Fri Jun 21 17:08:53 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Thu Jun 27 10:11:29 2019 +0800 |
tree | b0c89570445e0d16f9f043b44733dc760d39877c | |
parent | 8a697b682bc42cfa1f12802c0b1030d7852a0860 [diff] |
monitor: use signed value for factor and offset The code was using size_t for factor and offset. For some fans the offset could be negative, so it needs to use signed types. This commit changes the offset type to int64_t. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I7443b00cd9f55ff0acb2fcc077bf2f5ba2b74395