]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
seq: supplement to use guint8 for the numerical ID of client
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 19 Jun 2020 11:53:09 +0000 (20:53 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Fri, 19 Jun 2020 12:11:34 +0000 (21:11 +0900)
Fixes: 912236f0a415 ("seq: use guint8 for the numerical ID of client")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/seq/query.c
src/seq/query.h

index 57f7be57bb27e65b4c76a8c2514a4004bb263340..6072b6d359372a4722961330ef8e24d512512a18 100644 (file)
@@ -172,14 +172,14 @@ void alsaseq_get_system_info(ALSASeqSystemInfo **system_info, GError **error)
  * SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT command for ALSA sequencer character
  * device.
  */
-void alsaseq_get_client_id_list(guint **entries, gsize *entry_count,
+void alsaseq_get_client_id_list(guint8 **entries, gsize *entry_count,
                                 GError **error)
 {
     char *devnode;
     int my_id;
     struct snd_seq_system_info system_info = {0};
     unsigned int count;
-    guint *list;
+    guint8 *list;
     unsigned int index;
     struct snd_seq_client_info client_info = {0};
     int fd;
index cd9cce033022fc1885d191ad43bc011d871ec154..41a5cfd30a2ba42cbd2a878266927de139bd4044 100644 (file)
@@ -21,7 +21,7 @@ void alsaseq_get_seq_devnode(gchar **devnode, GError **error);
 
 void alsaseq_get_system_info(ALSASeqSystemInfo **system_info, GError **error);
 
-void alsaseq_get_client_id_list(guint **entries, gsize *entry_count,
+void alsaseq_get_client_id_list(guint8 **entries, gsize *entry_count,
                                 GError **error);
 
 void alsaseq_get_client_info(guint8 client_id, ALSASeqClientInfo **client_info,