aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/efl_mono/libefl_mono_native_test.c
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-03-21 22:49:44 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-04-03 17:29:41 -0300
commiteac568f6dcdfdd8ab79d020e6a82a4b8666d17de (patch)
tree2733416322c86d66b65994ef09eb56a8eb281889 /src/tests/efl_mono/libefl_mono_native_test.c
parentcsharp: Support argument marshalling in func ptrs (diff)
downloadefl-eac568f6dcdfdd8ab79d020e6a82a4b8666d17de.tar.gz
csharp: Silence test build warnings.
Was trying to modify const strings.
Diffstat (limited to 'src/tests/efl_mono/libefl_mono_native_test.c')
-rw-r--r--src/tests/efl_mono/libefl_mono_native_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c
index fff2173ae8..b16c1625f9 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -3375,7 +3375,7 @@ EOLIAN
Eina_Bool _test_testing_struct_simple_ptr_in(EINA_UNUSED Eo *obj, EINA_UNUSED Test_Testing_Data *pd, Test_StructSimple *simple)
{
simple->fint = -simple->fint;
- _reverse_string(simple->fstring);
+ _reverse_string(simple->fmstring);
return EINA_TRUE;
}
@@ -3385,7 +3385,7 @@ Test_StructSimple _test_testing_struct_simple_ptr_in_own(EINA_UNUSED Eo *obj, EI
Test_StructSimple ret = *simple;
free(simple);
ret.fint = -ret.fint;
- _reverse_string(ret.fstring);
+ _reverse_string(ret.fmstring);
return ret;
}