Skip to content

Commit c1033ad

Browse files
committed
fixed sst_received() method to accept void* buffer instead of char*
1 parent e2f49f9 commit c1033ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wsrep_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ struct wsrep_ {
873873
*/
874874
wsrep_status_t (*sst_received)(wsrep_t* wsrep,
875875
const wsrep_gtid_t* state_id,
876-
const char* state,
876+
const void* state,
877877
size_t state_len,
878878
int rcode);
879879

wsrep_dummy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static wsrep_status_t dummy_sst_sent(
230230
static wsrep_status_t dummy_sst_received(
231231
wsrep_t* w,
232232
const wsrep_gtid_t* state_id __attribute__((unused)),
233-
const char* state __attribute__((unused)),
233+
const void* state __attribute__((unused)),
234234
const size_t state_len __attribute__((unused)),
235235
const int rcode __attribute__((unused)))
236236
{

0 commit comments

Comments
 (0)