On Mon, Apr 04, 2016 at 10:03:39AM +0200, Fabiano Fidêncio wrote: > --- > common/log.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/common/log.c b/common/log.c > index 8d47cb6..91d3181 100644 > --- a/common/log.c > +++ b/common/log.c > @@ -59,7 +59,7 @@ static GLogLevelFlags spice_log_level_to_glib(SpiceLogLevel level) > static void spice_log_set_debug_level(void) > { > if (glib_debug_level == 0) { > - char *debug_str = getenv("SPICE_DEBUG_LEVEL"); > + char *debug_str = (char *)g_getenv("SPICE_DEBUG_LEVEL"); Looks like it could be const char *debug_str = g_getenv(...) ? Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel