diff options
author | aunsane <aunsane@gmail.com> | 2018-08-17 00:29:59 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-08-18 13:08:40 +0300 |
commit | 22196f3cad4751f964c56da518bb57ab0e64ae97 (patch) | |
tree | 9830ac73ecd5047aaa4ae0f67139b14cb9f8c4d2 /protocols/Tox/libtox/src/toxcore/util.c | |
parent | 28d0e917496ecfd681e8cd3e3032519867993f9b (diff) |
Tox: libtox updated to v0.2.6
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/util.c')
-rw-r--r-- | protocols/Tox/libtox/src/toxcore/util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/util.c b/protocols/Tox/libtox/src/toxcore/util.c index f349e8fe0e..de01625eae 100644 --- a/protocols/Tox/libtox/src/toxcore/util.c +++ b/protocols/Tox/libtox/src/toxcore/util.c @@ -100,6 +100,11 @@ int32_t max_s32(int32_t a, int32_t b) return a > b ? a : b; } +int32_t min_s32(int32_t a, int32_t b) +{ + return a < b ? a : b; +} + uint32_t min_u32(uint32_t a, uint32_t b) { return a < b ? a : b; |