Skip to content

Commit 6ea4e67

Browse files
committed
Removing warning
1 parent f557194 commit 6ea4e67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/max_flow/max_flow.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PGDLLEXPORT Datum _pgr_maxflow(PG_FUNCTION_ARGS) {
6161

6262
PG_GETARG_ARRAYTYPE_P(1),
6363
PG_GETARG_ARRAYTYPE_P(2),
64-
PG_GETARG_BOOL(4)? MAXFLOW : MAXFLOW + PG_GETARG_INT32(3),
64+
PG_GETARG_BOOL(4)? MAXFLOW : MAXFLOW + PG_GETARG_UINT32(3),
6565
&result_tuples,
6666
&result_count);
6767

@@ -76,7 +76,7 @@ PGDLLEXPORT Datum _pgr_maxflow(PG_FUNCTION_ARGS) {
7676
NULL,
7777
NULL,
7878

79-
PG_GETARG_BOOL(3)? MAXFLOW : MAXFLOW + PG_GETARG_INT32(2),
79+
PG_GETARG_BOOL(3)? MAXFLOW : MAXFLOW + PG_GETARG_UINT32(2),
8080
&result_tuples,
8181
&result_count);
8282
}

0 commit comments

Comments
 (0)