Skip to content

Commit 6eb2396

Browse files
authored
Merge pull request #43 from postgrespro/PGPRO-7397
Fix build due to new checks in PostgreSQL 16
2 parents cdcfd38 + 40b1db5 commit 6eb2396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsquery.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef struct
2626
int32 vl_len_; /* varlena header (do not touch directly!) */
2727
} JsQuery;
2828

29-
#define DatumGetJsQueryP(d) ((JsQuery*)DatumGetPointer(PG_DETOAST_DATUM(d)))
29+
#define DatumGetJsQueryP(d) ((JsQuery*) PG_DETOAST_DATUM(d))
3030
#define PG_GETARG_JSQUERY(x) DatumGetJsQueryP(PG_GETARG_DATUM(x))
3131
#define PG_RETURN_JSQUERY(p) PG_RETURN_POINTER(p)
3232

0 commit comments

Comments
 (0)