diff options
author | Nicolas Morey-Chaisemartin <nmorey@kalray.eu> | 2015-04-24 15:09:18 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-04-29 19:23:32 +0300 |
commit | 33a13b9982dc367d4c82c6cba01a9ea5c520adb0 (patch) | |
tree | 249a824eb2e7eb68d57f599b34ce10731223958b /.checkpatch.conf | |
parent | f3f532c7b937dc93408321e5e409eedbd570646b (diff) |
api: time: force time defines as ULL to avoid computation overflows on 32bits systems
For example the odp_timer validation tests computes 10 * ODP_TIME_SEC
and stores it into an uint64_t, but the computation overflows on 32b
systems and the test fails.
Signed-off-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions