Skip to content

Commit 58b2cb1

Browse files
committed
Fixed warnings in C-stubs
1 parent cf7eb98 commit 58b2cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/postgresql_stubs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ static inline value make_some(value v)
132132

133133
/* Cache for OCaml-values */
134134
static value v_empty_string = Val_unit;
135-
static value *v_exc_Oid = NULL; /* Exception [Oid] */
136-
static value *v_null_param = NULL;
135+
static const value *v_exc_Oid = NULL; /* Exception [Oid] */
136+
static const value *v_null_param = NULL;
137137

138138
CAMLprim value PQocaml_init(value __unused v_unit)
139139
{

0 commit comments

Comments
 (0)