From: Christoph Egger Date: Thu, 30 Jul 2009 13:28:45 +0000 (+0200) Subject: tolower -> qemu_tolower X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~11148 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb87ece518e5ae0f7309b4f1758ee9d1c7a56b74;p=sdk%2Femulator%2Fqemu.git tolower -> qemu_tolower Use qemu_tolower() instead of tolower(). Fixes warning on NetBSD. Signed-off-by: Christoph Egger Signed-off-by: Anthony Liguori Message-Id: --- diff --git a/hw/qdev.c b/hw/qdev.c index 9488dba..2a61e43 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -520,7 +520,7 @@ BusState *qbus_create(BusInfo *info, DeviceState *parent, const char *name) len = snprintf(buf, len, "%s.%d", info->name, parent ? parent->num_child_bus : 0); for (i = 0; i < len; i++) - buf[i] = tolower(buf[i]); + buf[i] = qemu_tolower(buf[i]); bus->name = buf; }