Skip to content

Commit 1cd1b44

Browse files
authored
Merge pull request #125 from rhurlin/master
Fix build with newer compilers on FreeBSD
2 parents cf191e7 + e24e486 commit 1cd1b44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

postgresql/port/_optimized/buffer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ PyTypeObject pq_message_stream_Type = {
587587
sizeof(struct p_buffer), /* tp_basicsize */
588588
0, /* tp_itemsize */
589589
p_dealloc, /* tp_dealloc */
590-
NULL, /* tp_print */
590+
0, /* tp_print */
591591
NULL, /* tp_getattr */
592592
NULL, /* tp_setattr */
593593
NULL, /* tp_compare */

postgresql/port/_optimized/wirestate.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ PyTypeObject WireState_Type = {
248248
sizeof(struct wirestate), /* tp_basicsize */
249249
0, /* tp_itemsize */
250250
ws_dealloc, /* tp_dealloc */
251-
NULL, /* tp_print */
251+
0, /* tp_print */
252252
NULL, /* tp_getattr */
253253
NULL, /* tp_setattr */
254254
NULL, /* tp_compare */

0 commit comments

Comments
 (0)