aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:06:57 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:06:57 +0000
commitc069b89d86f9cc1f45b8917fbad77e5a860e938f (patch)
tree37833274b0c552cc39fe293b0a1e5f89c90bc29a /src/outputBuffer.h
parentb60789dd8cc421151fd2d0bbd44c0635c1dabb67 (diff)
downloadmpd-c069b89d86f9cc1f45b8917fbad77e5a860e938f.tar.gz
mpd-c069b89d86f9cc1f45b8917fbad77e5a860e938f.tar.xz
mpd-c069b89d86f9cc1f45b8917fbad77e5a860e938f.zip
use unsigned integers in outputBuffer.c
The chunk index cannot be negative. git-svn-id: https://svn.musicpd.org/mpd/trunk@7231 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h
index 99d3010f0..ab4ccc893 100644
--- a/src/outputBuffer.h
+++ b/src/outputBuffer.h
@@ -38,8 +38,8 @@ typedef struct _OutputBuffer {
mpd_uint16 *volatile chunkSize;
mpd_uint16 *volatile bitRate;
float *volatile times;
- mpd_sint16 volatile begin;
- mpd_sint16 volatile end;
+ mpd_uint16 volatile begin;
+ mpd_uint16 volatile end;
AudioFormat audioFormat;
ConvState convState;
MetadataChunk metadataChunks[BUFFERED_METACHUNKS];