Просмотр исходного кода

testvotequorum1.c: avoid 5 warnings

* test/testvotequorum1.c (node_state): Return "const char *".

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1958 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 лет назад
Родитель
Сommit
68d86dd107
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/testvotequorum1.c

+ 1 - 1
test/testvotequorum1.c

@@ -45,7 +45,7 @@
 
 static votequorum_handle_t handle;
 
-static char *node_state(int state)
+static const char *node_state(int state)
 {
 	switch (state) {
 	case NODESTATE_JOINING: