summaryrefslogtreecommitdiff
path: root/src/pulse/simple.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-29 23:53:55 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-29 23:53:55 +0200
commit13018d62c10731459b0b4fd3f6852dcebddbccb8 (patch)
tree56115c47b62e8062100492867a8d358d12d571ee /src/pulse/simple.c
parent506eacc9228eaf4f9ed805ca22157988327311fb (diff)
downloadpulseaudio-panda-13018d62c10731459b0b4fd3f6852dcebddbccb8.tar.gz
pulseaudio-panda-13018d62c10731459b0b4fd3f6852dcebddbccb8.tar.bz2
pulseaudio-panda-13018d62c10731459b0b4fd3f6852dcebddbccb8.zip
fix a few compiler warnings on older gcc
Diffstat (limited to 'src/pulse/simple.c')
-rw-r--r--src/pulse/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/simple.c b/src/pulse/simple.c
index 51160ad7..79e39ebb 100644
--- a/src/pulse/simple.c
+++ b/src/pulse/simple.c
@@ -272,7 +272,7 @@ int pa_simple_write(pa_simple *p, const void*data, size_t length, int *rerror) {
if (l > length)
l = length;
- r = pa_stream_write(p->stream, data, l, NULL, 0, PA_SEEK_RELATIVE);
+ r = pa_stream_write(p->stream, data, l, NULL, 0LL, PA_SEEK_RELATIVE);
CHECK_SUCCESS_GOTO(p, rerror, r >= 0, unlock_and_fail);
data = (const uint8_t*) data + l;