Eina test strbuf: Fixed compilation warnings.
authorTom Hacohen <tom@stosb.com>
Mon, 11 Mar 2013 10:39:20 +0000 (10:39 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 11 Mar 2013 10:39:20 +0000 (10:39 +0000)
src/tests/eina/eina_test_strbuf.c

index 403ff49..406b467 100644 (file)
@@ -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);