From: Daniel Elstner Date: Sat, 5 Sep 2015 21:20:21 +0000 (+0200) Subject: device: Use g_ascii_strcasecmp() for portability X-Git-Tag: sigrok-cli-0.6.0~16 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=21964baec4fe7cf0997f75dec6a837d93f12a4c8;p=sigrok-cli.git device: Use g_ascii_strcasecmp() for portability --- diff --git a/device.c b/device.c index 2d63cab..df7a7ed 100644 --- a/device.c +++ b/device.c @@ -76,7 +76,7 @@ struct sr_channel_group *select_channel_group(struct sr_dev_inst *sdi) for (l = channel_groups; l; l = l->next) { cg = l->data; - if (!strcasecmp(opt_channel_group, cg->name)) { + if (!g_ascii_strcasecmp(opt_channel_group, cg->name)) { return cg; } }