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 f557194 commit 6ea4e67Copy full SHA for 6ea4e67
1 file changed
src/max_flow/max_flow.c
@@ -61,7 +61,7 @@ PGDLLEXPORT Datum _pgr_maxflow(PG_FUNCTION_ARGS) {
61
62
PG_GETARG_ARRAYTYPE_P(1),
63
PG_GETARG_ARRAYTYPE_P(2),
64
- PG_GETARG_BOOL(4)? MAXFLOW : MAXFLOW + PG_GETARG_INT32(3),
+ PG_GETARG_BOOL(4)? MAXFLOW : MAXFLOW + PG_GETARG_UINT32(3),
65
&result_tuples,
66
&result_count);
67
@@ -76,7 +76,7 @@ PGDLLEXPORT Datum _pgr_maxflow(PG_FUNCTION_ARGS) {
76
NULL,
77
78
79
- PG_GETARG_BOOL(3)? MAXFLOW : MAXFLOW + PG_GETARG_INT32(2),
+ PG_GETARG_BOOL(3)? MAXFLOW : MAXFLOW + PG_GETARG_UINT32(2),
80
81
82
}
0 commit comments