diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-23 02:22:38 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-24 22:20:22 +0000 |
commit | d3b286cb434ed228e7b62cc70cb293e7a5554bfa (patch) | |
tree | 9ab3dd66f9dba2ca861ba8c6e098fb96754aa80b /toxav/toxav.c | |
parent | afc80922e720f5d2a93bdfb3745da058e5ddf81b (diff) |
Fix a bunch of compiler warnings and remove suppressions.
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r-- | toxav/toxav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 4e45b747..36bf9cc2 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -950,7 +950,7 @@ void callback_bwc(BWController *bwc, uint32_t friend_number, float loss, void *u | |||
950 | ToxAVCall *call = (ToxAVCall *)user_data; | 950 | ToxAVCall *call = (ToxAVCall *)user_data; |
951 | assert(call); | 951 | assert(call); |
952 | 952 | ||
953 | LOGGER_DEBUG(call->av->m->log, "Reported loss of %f%%", loss * 100); | 953 | LOGGER_DEBUG(call->av->m->log, "Reported loss of %f%%", (double)loss * 100); |
954 | 954 | ||
955 | /* if less than 10% data loss we do nothing! */ | 955 | /* if less than 10% data loss we do nothing! */ |
956 | if (loss < 0.1f) { | 956 | if (loss < 0.1f) { |