summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-02 08:38:05 +0100
committerz3bra <contactatz3bradotorg>2016-11-08 16:47:51 +0100
commit6a8af21a5cec1e317618799bb7be8054fb1b43be (patch)
treeb6223088192b41dfd76fbb4fb652468514bf0525
parent98db92a98e7daeee91f2b47de2a25a8d97899015 (diff)
Fix AV buffer signedness
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 3b277c7..40336b9 100644
--- a/ratox.c
+++ b/ratox.c
@@ -515,7 +515,7 @@ sendfriendcalldata(struct friend *f)
{
struct timespec now, diff;
ssize_t n, pcm;
- uint16_t *buf;
+ int16_t *buf;
n = fiforead(f->dirfd, &f->fd[FCALL_IN], ffiles[FCALL_IN],
f->av.frame + (f->av.state & INCOMPLETE) * f->av.n,