These are not right, but is it going to break any thing
by changing them?

Signed-off-by: Angus Salkeld <[email protected]>
---
 include/corosync/engine/coroapi.h |    4 ++--
 include/corosync/engine/objdb.h   |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/corosync/engine/coroapi.h 
b/include/corosync/engine/coroapi.h
index c3c812f..e6eae24 100644
--- a/include/corosync/engine/coroapi.h
+++ b/include/corosync/engine/coroapi.h
@@ -212,12 +212,12 @@ typedef void (*object_key_change_notify_fn_t)(
 typedef void (*object_create_notify_fn_t) (
        hdb_handle_t parent_object_handle,
        hdb_handle_t object_handle,
-       const uint8_t *name_pt, size_t name_len,
+       const void *name_pt, size_t name_len,
        void *priv_data_pt);
 
 typedef void (*object_destroy_notify_fn_t) (
        hdb_handle_t parent_object_handle,
-       const uint8_t *name_pt, size_t name_len,
+       const void *name_pt, size_t name_len,
        void *priv_data_pt);
 
 typedef void (*object_notify_callback_fn_t)(
diff --git a/include/corosync/engine/objdb.h b/include/corosync/engine/objdb.h
index 140753a..a935513 100644
--- a/include/corosync/engine/objdb.h
+++ b/include/corosync/engine/objdb.h
@@ -81,12 +81,12 @@ typedef void (*object_key_change_notify_fn_t)(
        const void *key_value_pt, size_t key_value_len,
        void *priv_data_pt);
 
-typedef void (*object_create_notify_fn_t) (unsigned int parent_object_handle,
+typedef void (*object_create_notify_fn_t) (hdb_handle_t parent_object_handle,
 hdb_handle_t object_handle,
 const void *name_pt, size_t name_len,
 void *priv_data_pt);
 
-typedef void (*object_destroy_notify_fn_t) (unsigned int parent_object_handle,
+typedef void (*object_destroy_notify_fn_t) (hdb_handle_t parent_object_handle,
                                            const void *name_pt,
                                            size_t name_len,
                                                                                
        void *priv_data_pt);
-- 
1.7.2.2

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to