[gnome-builder] foundry: silence warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] foundry: silence warning
- Date: Wed, 17 Feb 2021 22:16:30 +0000 (UTC)
commit 46743f738cbd20fce0208b16a0e3ad256df2b3a0
Author: Christian Hergert <chergert redhat com>
Date: Wed Feb 17 14:12:41 2021 -0800
foundry: silence warning
src/libide/foundry/ide-pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-pipeline.c b/src/libide/foundry/ide-pipeline.c
index 3ff848c61..1300eba32 100644
--- a/src/libide/foundry/ide-pipeline.c
+++ b/src/libide/foundry/ide-pipeline.c
@@ -662,7 +662,7 @@ extract_directory_change (IdePipeline *self,
return FALSE;
len = &data[len - 1] - begin;
- dir = g_strndup (begin, len);
+ dir = g_strndup ((gchar *)begin, len);
if (g_utf8_validate (dir, len, NULL))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]