This is an automated email from the ASF dual-hosted git repository.

zanelee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git


The following commit(s) were added to refs/heads/master by this push:
     new 68cf498  MNEMONIC-768: Fix incompatible pointer type of memkind_t
     new b15927e  Merge pull request #322 from yzz127/master
68cf498 is described below

commit 68cf498045e567d4176523c7e9f0bd1936bbe7f5
Author: Yanhui Zhao <[email protected]>
AuthorDate: Fri Nov 11 05:20:36 2022 +0000

    MNEMONIC-768: Fix incompatible pointer type of memkind_t
---
 .../mnemonic-memkind-pmem-service/src/main/native/common.h              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/common.h
 
b/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/common.h
index 44edbd1..4f4edf9 100644
--- 
a/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/common.h
+++ 
b/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/common.h
@@ -51,7 +51,7 @@ typedef struct {
 #define PMBHSZ (sizeof(PMBHeader))
 
 typedef struct {
-  memkind_t *kind;
+  memkind_t kind;
   size_t capacity;
   pthread_mutex_t mutex;
 } VMPool;

Reply via email to