From 440120f1dac9e99991330f1fc5a31dda816efaa2 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 21 Dec 2016 13:23:14 -0800 Subject: [PATCH] Remove const to silence warnings. This should be optimized out anyway. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 0bec0fc..17964ff 100644 --- a/src/main.c +++ b/src/main.c @@ -25,7 +25,7 @@ int test_vec_basic(){ } int test_vec_add(){ vec test_vec; - const char* test_string = "test"; + char* test_string = "test"; int return_code; vec_init(&test_vec); @@ -37,7 +37,7 @@ int test_vec_add(){ } int test_vec_remove(){ vec test_vec; - const char* test_string = "test"; + char* test_string = "test"; int return_code; vec_init(&test_vec); @@ -50,7 +50,7 @@ int test_vec_remove(){ } int test_vec_find(){ vec test_vec; - const char* test_string = "test"; + char* test_string = "test"; int return_code; vec_init(&test_vec);