summaryrefslogtreecommitdiff
path: root/modules/pulse/recorder.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-26 22:10:38 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-26 22:10:38 +0200
commite27e37b547b709d8ecf8be306c2b5137b7affad3 (patch)
treef783621e68b2eaf0458c2936ae8c7f8e9fe31566 /modules/pulse/recorder.c
parent1c76f5224e54277269f24e65dce8e9c2ddf2f3cf (diff)
pulse: fix warnings on osx
Diffstat (limited to 'modules/pulse/recorder.c')
-rw-r--r--modules/pulse/recorder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pulse/recorder.c b/modules/pulse/recorder.c
index 78c622d..64df6c4 100644
--- a/modules/pulse/recorder.c
+++ b/modules/pulse/recorder.c
@@ -110,7 +110,7 @@ int pulse_recorder_alloc(struct ausrc_st **stp, const struct ausrc *as,
attr.tlength = (uint32_t)-1;
attr.prebuf = (uint32_t)-1;
attr.minreq = (uint32_t)-1;
- attr.fragsize = pa_usec_to_bytes(prm->ptime * 1000, &ss);
+ attr.fragsize = (uint32_t)pa_usec_to_bytes(prm->ptime * 1000, &ss);
st->s = pa_simple_new(NULL,
"Baresip",