tasn pushed a commit to branch master.
commit 973d0b475b693e84d64f7cbb82384d19aa92b1c6
Author: Tom Hacohen <[email protected]>
Date: Mon Mar 11 10:39:20 2013 +0000
Eina test strbuf: Fixed compilation warnings.
---
src/tests/eina/eina_test_strbuf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/eina/eina_test_strbuf.c
b/src/tests/eina/eina_test_strbuf.c
index 403ff49..406b467 100644
--- a/src/tests/eina/eina_test_strbuf.c
+++ b/src/tests/eina/eina_test_strbuf.c
@@ -437,11 +437,11 @@ END_TEST
START_TEST(strbuf_trim)
{
Eina_Strbuf* buf;
- char* str;
+ const char *str;
eina_init();
buf = eina_strbuf_new();
- fail_unless(buf);
+ fail_unless(buf != NULL);
eina_strbuf_append(buf, " string ");
eina_strbuf_trim(buf);
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev