summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-03-22 09:53:23 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-03-22 09:53:23 +0100
commit11a514c57b1b859b5ff5fc23d432d4b6ef3ffa79 (patch)
tree5912bc3b558a773251e8687ea553e1ae494acd2f /src
parent5860fdb9a9b26e37852520d4598749f65f893bb5 (diff)
mos: use stdint types
Diffstat (limited to 'src')
-rw-r--r--src/mos.c2
1 files changed, 1 insertions, 1 deletions
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;