From 260d4d42e0c3a2951fe9543dc4e18d93c12950ec Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Mon, 1 May 2023 14:15:48 +0200 Subject: [PATCH 1/2] buffer.c: Fix incompatible pointer to integer conversion Part 1 of 2 changes --- postgresql/port/_optimized/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/port/_optimized/buffer.c b/postgresql/port/_optimized/buffer.c index 7f46d2d..cb81b2f 100644 --- a/postgresql/port/_optimized/buffer.c +++ b/postgresql/port/_optimized/buffer.c @@ -587,7 +587,7 @@ PyTypeObject pq_message_stream_Type = { sizeof(struct p_buffer), /* tp_basicsize */ 0, /* tp_itemsize */ p_dealloc, /* tp_dealloc */ - NULL, /* tp_print */ + 0, /* tp_print */ NULL, /* tp_getattr */ NULL, /* tp_setattr */ NULL, /* tp_compare */ From e24e486cd4bf08a36c0c358300ad80817aa279a0 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Mon, 1 May 2023 14:16:59 +0200 Subject: [PATCH 2/2] wirestate.c: Fix incompatible pointer to integer conversion Part 2 of 2 changes --- postgresql/port/_optimized/wirestate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/port/_optimized/wirestate.c b/postgresql/port/_optimized/wirestate.c index 7947e5c..74a9aca 100644 --- a/postgresql/port/_optimized/wirestate.c +++ b/postgresql/port/_optimized/wirestate.c @@ -248,7 +248,7 @@ PyTypeObject WireState_Type = { sizeof(struct wirestate), /* tp_basicsize */ 0, /* tp_itemsize */ ws_dealloc, /* tp_dealloc */ - NULL, /* tp_print */ + 0, /* tp_print */ NULL, /* tp_getattr */ NULL, /* tp_setattr */ NULL, /* tp_compare */