mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Use strtoi64 instead of strtoll
This is mostly for notational consistency, since the result is stored in a variable of type int64.
This commit is contained in:
parent
c71b94f033
commit
ee31868a53
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ pgsa_read_from_disk(void)
|
|||
|
||||
/* Parse the query ID. */
|
||||
errno = 0;
|
||||
queryId = strtoll(queryid_str, &endptr, 10);
|
||||
queryId = strtoi64(queryid_str, &endptr, 10);
|
||||
if (*endptr != '\0' || errno != 0 || queryid_str == endptr ||
|
||||
queryId == 0)
|
||||
ereport(ERROR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue