mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Attempt to fix some compiler warnings.
This commit is contained in:
@ -2507,7 +2507,7 @@ DCH_to_char(FormatNode *node, bool is_interval, TmToChar *in, char *out, Oid col
|
||||
s += strlen(s);
|
||||
if (tm->tm_gmtoff % SECS_PER_HOUR != 0)
|
||||
{
|
||||
sprintf(s, ":%02ld", abs(tm->tm_gmtoff % SECS_PER_HOUR) / SECS_PER_MINUTE);
|
||||
sprintf(s, ":%02d", abs(tm->tm_gmtoff % SECS_PER_HOUR) / SECS_PER_MINUTE);
|
||||
s += strlen(s);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user