We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceb0751 commit 76940e4Copy full SHA for 76940e4
postgis/lwgeom_nurbs_functions.c
@@ -38,7 +38,7 @@ PG_FUNCTION_INFO_V1(ST_MakeNurbsCurve);
38
Datum ST_MakeNurbsCurve(PG_FUNCTION_ARGS)
39
{
40
LWLINE *line = NULL;
41
- int32_t degree = PG_GETARG_INT32(0);
+ uint32_t degree = (uint32_t)PG_GETARG_INT32(0);
42
GSERIALIZED *pcontrol_pts = PG_GETARG_GSERIALIZED_P(1);
43
LWGEOM *control_geom = lwgeom_from_gserialized(pcontrol_pts);
44
POINTARRAY *ctrl_pts = NULL;
0 commit comments