From bc95719e047f8a9a29bcdc138795ff55e3154f9f Mon Sep 17 00:00:00 2001 From: Thomas Flueeli Date: Thu, 28 Oct 2010 12:07:01 +0200 Subject: [PATCH 2/5] remove unnecessary cast This fixes the following error on MSVC9: debug.c(95) : error C2440: 'type cast' : cannot convert from 'GDebugKey' to 'GDebugKey' --- src/debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/debug.c b/src/debug.c index 00d5f38..f4329d1 100644 --- a/src/debug.c +++ b/src/debug.c @@ -92,7 +92,7 @@ debug_flag_to_domain (GabbleDebugFlags flag) for (i = 0; keys[i].value; i++) { - GDebugKey key = (GDebugKey) keys[i]; + GDebugKey key = keys[i]; gchar *val; val = g_strdup_printf ("%s/%s", G_LOG_DOMAIN, key.key); -- 1.7.2.3