@@ -843,8 +843,8 @@ static bool njsConnection_executeManyPostAsync(njsBaton *baton, napi_env env,
843
843
844
844
// get total number of rows affected
845
845
if (!baton -> stmtInfo .isPLSQL ) {
846
- NJS_CHECK_NAPI (env , napi_create_uint32 (env , baton -> rowsAffected ,
847
- & temp ))
846
+ NJS_CHECK_NAPI (env , napi_create_uint32 (env ,
847
+ ( uint32_t ) baton -> rowsAffected , & temp ))
848
848
NJS_CHECK_NAPI (env , napi_set_named_property (env , result ,
849
849
"rowsAffected" , temp ))
850
850
}
@@ -1592,8 +1592,8 @@ static bool njsConnection_getRowCounts(njsBaton *baton, napi_env env,
1592
1592
NJS_CHECK_NAPI (env , napi_create_array_with_length (env , baton -> numRowCounts ,
1593
1593
rowCounts ))
1594
1594
for (i = 0 ; i < baton -> numRowCounts ; i ++ ) {
1595
- NJS_CHECK_NAPI (env , napi_create_uint32 (env , baton -> rowCounts [ i ],
1596
- & temp ))
1595
+ NJS_CHECK_NAPI (env , napi_create_uint32 (env ,
1596
+ ( uint32_t ) baton -> rowCounts [ i ], & temp ))
1597
1597
NJS_CHECK_NAPI (env , napi_set_element (env , * rowCounts , i , temp ))
1598
1598
}
1599
1599
0 commit comments