Преглед на файлове

totem*: add "const" to avoid 1 more warning

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1936 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering преди 17 години
родител
ревизия
3ec95b158b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      exec/totemconfig.c

+ 1 - 1
exec/totemconfig.c

@@ -628,7 +628,7 @@ int totem_config_keyread (
 	const char **error_string)
 	const char **error_string)
 {
 {
 	int got_key = 0;
 	int got_key = 0;
-	char *key_location = NULL;
+	const char *key_location = NULL;
 	hdb_handle_t object_totem_handle;
 	hdb_handle_t object_totem_handle;
 	int res;
 	int res;