diff options
author | Christian Persch <chpe@gnome.org> | 2015-03-30 17:54:33 +0200 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2015-04-22 20:39:37 +0200 |
commit | 958859d14ef4d94fc4735c700f550b57739f31ac (patch) | |
tree | f69381161774fa33fc42e8f3206353b5f42b4910 /src/vtestream-file.h | |
parent | 618a96fea213d2c1310521dd88c252de6cbd256d (diff) | |
download | vte-958859d14ef4d94fc4735c700f550b57739f31ac.tar.gz |
all: Move to C++
Diffstat (limited to 'src/vtestream-file.h')
-rw-r--r-- | src/vtestream-file.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vtestream-file.h b/src/vtestream-file.h index 27e5f666..d8997d98 100644 --- a/src/vtestream-file.h +++ b/src/vtestream-file.h @@ -1291,7 +1291,7 @@ static void test_fakes (void) { char buf[100], buf2[100]; - VteBoa *boa = g_object_new (VTE_TYPE_BOA, NULL); + VteBoa *boa = (VteBoa *)g_object_new (VTE_TYPE_BOA, NULL); /* Encrypt */ strcpy(buf, "abcdXYZ1234!!!"); @@ -1353,7 +1353,7 @@ test_fakes (void) static void test_snake (void) { - VteSnake *snake = g_object_new (VTE_TYPE_SNAKE, NULL); + VteSnake *snake = (VteSnake *)g_object_new (VTE_TYPE_SNAKE, NULL); /* Test overwriting data */ snake_write (snake, 0, "Armadillo"); @@ -1446,7 +1446,7 @@ test_snake (void) static void test_boa (void) { - VteBoa *boa = g_object_new (VTE_TYPE_BOA, NULL); + VteBoa *boa = (VteBoa *)g_object_new (VTE_TYPE_BOA, NULL); VteSnake *snake = (VteSnake *) &boa->parent; /* State 1 */ |