From f32a55298001e02be5e3e85295c72a719ad5597b Mon Sep 17 00:00:00 2001 From: Vincent Rogier Date: Wed, 21 Feb 2018 19:53:31 +0100 Subject: [PATCH] fixed warning --- src/resultset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resultset.c b/src/resultset.c index 70e7c889..b299abc3 100644 --- a/src/resultset.c +++ b/src/resultset.c @@ -1331,7 +1331,7 @@ boolean OCI_API OCI_SetStructNumericType OCI_CALL_CHECK_COMPAT(rs->stmt->con, OCI_CDT_NUMERIC == rs->defs[index - 1].col.datatype); OCI_CALL_CONTEXT_SET_FROM_STMT(rs->stmt) - rs->defs[index-1].col.struct_subtype = type; + rs->defs[index-1].col.struct_subtype = (ub2) type; OCI_RETVAL = OCI_STATUS;