]> git.eshelyaron.com Git - emacs.git/commit
* sound.c: Don't assume sizes fit in 'int'.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Apr 2011 03:22:40 +0000 (20:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Apr 2011 03:22:40 +0000 (20:22 -0700)
commit3e047f51d5ad36df46d553d1090e28f546af9382
tree534c44e9222423c084725464020143a45cb08fb5
parentc183f693134f64b3950b9287cb5d51016a32e514
* sound.c: Don't assume sizes fit in 'int'.

(struct sound_device.period_size, alsa_period_size):
Return size_t, not int.
(struct sound_device.write, vox_write, alsa_write):
Accept size_t, not int.
(wav_play, au_play): Use size_t to store sizes, and ssize_t to
record read return values.
src/ChangeLog
src/sound.c