mpd/src
Max Kellermann 1ad2f07a39 use size_t in audio.c
Buffer sizes should be size_t.  This is safe here, at least not
unsafer than without the patch.  I have no idea why audioBufferSize
and audioBufferPos were explicitly declared as signed integer.

git-svn-id: https://svn.musicpd.org/mpd/trunk@7296 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12 04:16:08 +00:00
..
audioOutputs use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
inputPlugins constant pointers 2008-04-12 04:15:30 +00:00
mp4ff fixed invalid C prototypes 2008-01-26 12:46:09 +00:00
ack.h The massive copyright update 2007-04-05 03:22:33 +00:00
audio.c use size_t in audio.c 2008-04-12 04:16:08 +00:00
audio.h use size_t in audio.c 2008-04-12 04:16:08 +00:00
audioOutput.c use free()/malloc() instead of realloc() 2008-04-12 04:16:03 +00:00
audioOutput.h use size_t in audioOutput.c internals 2008-04-12 04:15:58 +00:00
buffer2array.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
buffer2array.h The massive copyright update 2007-04-05 03:22:33 +00:00
charConv.c deconstify input buffer for iconv() 2008-04-12 04:06:45 +00:00
charConv.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
command.c eliminated duplicate initialization 2008-03-26 10:37:36 +00:00
command.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
compress.c compress.c: fix skips/distortion introduced in r7146 2008-02-05 10:17:45 +00:00
compress.h fixed "comparison between signed and unsigned" 2008-01-26 12:46:37 +00:00
conf.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
conf.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
dbUtils.c eliminated duplicate initialization 2008-03-26 10:37:36 +00:00
dbUtils.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
decode.c yet more unsigned integers 2008-04-12 04:15:35 +00:00
decode.h use the notify API in the decoder 2008-04-12 04:14:32 +00:00
directory.c Initial cut of fork() => pthreads() for decoder and player 2008-04-12 04:08:00 +00:00
directory.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
gcc.h gcc.h: fix compilation with !(gcc >= 3) 2008-01-27 23:10:41 +00:00
inputPlugin.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
inputPlugin.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
inputStream_file.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
inputStream_file.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream_http.c notify: cleanups 2008-03-26 10:39:03 +00:00
inputStream_http.h The massive copyright update 2007-04-05 03:22:33 +00:00
inputStream.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
inputStream.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
interface.c provide switches for TCP and unix sockets 2008-04-12 04:07:24 +00:00
interface.h use size_t 2008-03-26 10:38:07 +00:00
ioops.c ioops: make this zero-impact when compiling w/o zeroconf as well 2008-01-03 10:03:34 +00:00
ioops.h ioops: make this zero-impact when compiling w/o zeroconf as well 2008-01-03 10:03:34 +00:00
list.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
list.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
listen.c proper bind error message for unix socket 2008-04-12 04:07:37 +00:00
listen.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
locate.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
locate.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
log.c fix sign compare warnings 2008-04-12 04:06:52 +00:00
log.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
ls.c use size_t 2008-03-26 10:38:07 +00:00
ls.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
main.c use the notify API in the main thread 2008-04-12 04:14:45 +00:00
Makefile.am Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
metadataChunk.c Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
metadataChunk.h Drop metadata updates from HTTP for now (input HTTP, and shout) 2008-04-12 04:08:12 +00:00
mpd_types.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
myfprintf.c use size_t 2008-03-26 10:38:07 +00:00
myfprintf.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
normalize.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
normalize.h The massive copyright update 2007-04-05 03:22:33 +00:00
notify.c use the pthread API in notify.c 2008-04-12 04:14:25 +00:00
notify.h use the pthread API in notify.c 2008-04-12 04:14:25 +00:00
os_compat.h provide switches for TCP and unix sockets 2008-04-12 04:07:24 +00:00
outputBuffer.c added inline function successor() 2008-04-12 04:14:55 +00:00
outputBuffer.h moved currentChunk into OutputBuffer 2008-04-12 04:14:50 +00:00
path.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
path.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
pcm_utils.c constant pointers 2008-04-12 04:15:30 +00:00
pcm_utils.h yet more unsigned integers 2008-04-12 04:15:10 +00:00
permission.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
permission.h The massive copyright update 2007-04-05 03:22:33 +00:00
player.c use the notify API in the main thread 2008-04-12 04:14:45 +00:00
player.h use the notify API in the main thread 2008-04-12 04:14:45 +00:00
playerData.c use the notify API in the player 2008-04-12 04:14:38 +00:00
playerData.h moved CHUNK_SIZE to outputBuffer.h 2008-04-12 04:13:17 +00:00
playlist.c added clearPlayerQueueLocked() 2008-04-12 04:11:56 +00:00
playlist.h Revert the queue implementation and commands 2008-01-26 20:21:07 +00:00
replayGain.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
replayGain.h The massive copyright update 2007-04-05 03:22:33 +00:00
sig_handlers.c Initial cut of fork() => pthreads() for decoder and player 2008-04-12 04:08:00 +00:00
sig_handlers.h Initial cut of fork() => pthreads() for decoder and player 2008-04-12 04:08:00 +00:00
signal_check.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
signal_check.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
sllist.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
sllist.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
song.c fix segmentation fault in song info parser 2008-03-26 10:37:44 +00:00
song.h song: document get_song_url() 2008-04-12 04:08:18 +00:00
state_file.c unsigned counters 2008-03-26 10:38:48 +00:00
state_file.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
stats.c Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
stats.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
storedPlaylist.c storedPlaylist: faster, but less accurate check for maximum sizes 2008-01-29 09:26:39 +00:00
storedPlaylist.h storedPlaylist: remove the needless StoredPlaylist struct and just use List 2008-01-01 10:09:36 +00:00
tag.c yet more unsigned integers 2008-04-12 04:15:10 +00:00
tag.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
tagTracker.c fix -Waggregate-return 2008-01-26 12:46:30 +00:00
tagTracker.h fixed invalid C prototypes 2008-01-26 12:46:09 +00:00
timer.c fixed -Wshadow warnings 2008-01-26 12:46:21 +00:00
timer.h Redoing remiss's shout patch. This time, just block on open() instead of 2007-06-12 17:58:17 +00:00
tree.c fix -Waggregate-return 2008-01-26 12:46:30 +00:00
tree.h fix -Waggregate-return 2008-01-26 12:46:30 +00:00
utf8.c fix -Wconst warnings 2008-02-05 10:17:33 +00:00
utf8.h fix -Wconst warnings 2008-02-05 10:17:33 +00:00
utils.c notify: cleanups 2008-03-26 10:39:03 +00:00
utils.h notify: cleanups 2008-03-26 10:39:03 +00:00
volume.c fix "unreachable code" warning 2008-03-26 10:37:23 +00:00
volume.h Cleanup #includes of standard system headers and put them in one place 2008-01-03 07:29:49 +00:00
zeroconf.c zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00
zeroconf.h zeroconf: reformat (with mpd-indent.sh + manual tweaks) 2008-01-03 10:03:28 +00:00