mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-23 14:40:31 +00:00
Remove warnings about objdb that casts a const char * to a char *.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2081 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
f70605bec2
commit
ac597689df
@ -151,7 +151,7 @@ static int objdb_init (void)
|
||||
goto error_destroy;
|
||||
}
|
||||
instance->find_child_list = &instance->child_head;
|
||||
instance->object_name = "parent";
|
||||
instance->object_name = (char *)"parent";
|
||||
instance->object_name_len = strlen ("parent");
|
||||
instance->object_handle = handle;
|
||||
instance->parent_handle = OBJECT_PARENT_HANDLE;
|
||||
@ -748,7 +748,7 @@ static int object_find_create (
|
||||
|
||||
object_find_instance->find_child_list = &object_instance->child_head;
|
||||
object_find_instance->child_head = &object_instance->child_head;
|
||||
object_find_instance->object_name = object_name;
|
||||
object_find_instance->object_name = (char *)object_name;
|
||||
object_find_instance->object_len = object_len;
|
||||
|
||||
hdb_handle_put (&object_instance_database, object_handle);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user