Skip to content

Commit

Permalink
Update inout.c
Browse files Browse the repository at this point in the history
  • Loading branch information
usrtax authored Oct 16, 2022
1 parent e483dc0 commit 7e616eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inout.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ int1in(PG_FUNCTION_ARGS)
{
char *s = PG_GETARG_CSTRING(0);

PG_RETURN_INT8(pg_atoi(s, sizeof(int8), '\0'));
PG_RETURN_INT8(pg_strtoint64(s, sizeof(int8), '\0'));
}

PG_FUNCTION_INFO_V1(int1out);
Expand Down

0 comments on commit 7e616eb

Please sign in to comment.