]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: substream_status: use uint64_t for avail and xrun properties
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 14 Jun 2020 12:23:36 +0000 (21:23 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sun, 14 Jun 2020 13:07:29 +0000 (22:07 +0900)
commitba568d8bfa649822c0dcec2def6d5e5266b8f9da
tree52e9f4879815edc853bfa9b09242561b9993d5bc
parent1bfc8f266faa84ccf15fd4d7119089d5d1884f59
rawmidi: substream_status: use uint64_t for avail and xrun properties

The avail and xrun members in struct snd_rawmidi_params are defined as
size_t type. The size_t is long type, thus the size is different between
32 bit ABI and 64 bit ABI. This commit uses uint64_t type for the
properties so that the size is the same as these two ABIs.

Fixes: 2371b927816d ("rawmidi: substream_status: add properties")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/rawmidi/substream-status.c