[gjs/wip/js24: 11/11] fix compilation warnings in tests
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/js24: 11/11] fix compilation warnings in tests
- Date: Wed, 25 Sep 2013 21:29:57 +0000 (UTC)
commit 72a1b8c47b637911e82536469b2e01a11f4628c6
Author: Tim Lunn <tim feathertop org>
Date: Wed Sep 25 16:48:00 2013 +1000
fix compilation warnings in tests
test/gjs-tests.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/gjs-tests.cpp b/test/gjs-tests.cpp
index 8fb67d3..26b5ece 100644
--- a/test/gjs-tests.cpp
+++ b/test/gjs-tests.cpp
@@ -245,10 +245,10 @@ gjstest_test_func_util_glib_strv_concat_null(void)
static void
gjstest_test_func_util_glib_strv_concat_pointers(void)
{
- char *strv0[2] = {"foo", NULL};
+ char *strv0[2] = {(char*)"foo", NULL};
char *strv1[1] = {NULL};
char **strv2 = NULL;
- char *strv3[2] = {"bar", NULL};
+ char *strv3[2] = {(char*)"bar", NULL};
char **stuff[4];
char **ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]