Skip to content

Commit 76940e4

Browse files
committed
fix uint32
1 parent ceb0751 commit 76940e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgis/lwgeom_nurbs_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PG_FUNCTION_INFO_V1(ST_MakeNurbsCurve);
3838
Datum ST_MakeNurbsCurve(PG_FUNCTION_ARGS)
3939
{
4040
LWLINE *line = NULL;
41-
int32_t degree = PG_GETARG_INT32(0);
41+
uint32_t degree = (uint32_t)PG_GETARG_INT32(0);
4242
GSERIALIZED *pcontrol_pts = PG_GETARG_GSERIALIZED_P(1);
4343
LWGEOM *control_geom = lwgeom_from_gserialized(pcontrol_pts);
4444
POINTARRAY *ctrl_pts = NULL;

0 commit comments

Comments
 (0)