Skip to content

Commit

Permalink
removed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jul 13, 2013
1 parent c65563a commit fb79c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/lib/CircularBuffer_unittest.cc
Expand Up @@ -45,7 +45,7 @@ TEST(CircularBufferTest, push_pop)
int result;

CCircularBuffer* buffer;
SGVector<char> test_string("CircularBuffer", 14, false);
SGVector<char> test_string((char*)"CircularBuffer", 14, false);
SGVector<char> tmp_string;

// default constructor
Expand Down Expand Up @@ -90,7 +90,7 @@ TEST(CircularBufferTest, stress_test)
CDelimiterTokenizer* tokenizer;

SGVector<char> tmp_string;
SGVector<char> test_string("all your bayes are belong to us! ", 33, false);
SGVector<char> test_string((char*)"all your bayes are belong to us! ", 33, false);

buffer=new CCircularBuffer(buffer_size);
tokenizer=new CDelimiterTokenizer();
Expand Down

0 comments on commit fb79c1c

Please sign in to comment.