mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
64-bit fixes.
Controls API uses binary tree functions (tsearch ...).
This commit is contained in:
parent
e22a79b707
commit
f981892e3a
13 changed files with 174 additions and 164 deletions
|
|
@ -733,7 +733,8 @@ int snd_seq_flush_output(snd_seq_t *seq)
|
|||
*/
|
||||
int snd_seq_extract_output(snd_seq_t *seq, snd_seq_event_t **ev_res)
|
||||
{
|
||||
int len, olen, err;
|
||||
size_t len, olen;
|
||||
int err;
|
||||
snd_seq_event_t *ev;
|
||||
|
||||
if (!seq)
|
||||
|
|
@ -890,7 +891,7 @@ static int snd_seq_decode_event(char **buf, size_t *len, snd_seq_event_t *ev)
|
|||
static int snd_seq_event_read_buffer(snd_seq_t *seq)
|
||||
{
|
||||
char *buf;
|
||||
int count;
|
||||
ssize_t count;
|
||||
|
||||
count = read(seq->fd, seq->ibuf, seq->ibufsize);
|
||||
if (count < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue