[gnome-builder] ide-clang-service: fix const warning



commit 27f9669b8695db129e800020ba55a674e4831ceb
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Tue Jan 19 18:25:00 2016 +0100

    ide-clang-service: fix const warning

 plugins/clang/ide-clang-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/clang/ide-clang-service.c b/plugins/clang/ide-clang-service.c
index 178155e..cb5dbda 100644
--- a/plugins/clang/ide-clang-service.c
+++ b/plugins/clang/ide-clang-service.c
@@ -385,7 +385,7 @@ ide_clang_service_get_translation_unit_worker (EggTaskCache  *cache,
 
   g_assert (IDE_IS_CLANG_SERVICE (self));
   g_assert (IDE_IS_CLANG_SERVICE (self));
-  g_assert (IDE_IS_FILE (key));
+  g_assert (IDE_IS_FILE ((IdeFile *)key));
   g_assert (IDE_IS_FILE (file));
   g_assert (G_IS_TASK (task));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]