summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/baresip.h2
-rw-r--r--src/mos.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 2d7b6c7..b05469d 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -1036,7 +1036,7 @@ int module_preload(const char *module);
*/
double mos_calculate(double *r_factor, double rtt,
- double jitter, u_int32_t num_packets_lost);
+ double jitter, uint32_t num_packets_lost);
#ifdef __cplusplus
diff --git a/src/mos.c b/src/mos.c
index 8f78512..d86bbc1 100644
--- a/src/mos.c
+++ b/src/mos.c
@@ -34,7 +34,7 @@ static double rfactor_to_mos(double r)
* Reference: https://metacpan.org/pod/Algorithm::MOS
*/
double mos_calculate(double *r_factor, double rtt,
- double jitter, u_int32_t num_packets_lost)
+ double jitter, uint32_t num_packets_lost)
{
double effective_latency = rtt + (jitter * 2) + 10;
double mos_val;