diff options
Diffstat (limited to 'contrib/spi/timetravel.c')
| -rw-r--r-- | contrib/spi/timetravel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/spi/timetravel.c b/contrib/spi/timetravel.c index 41e7b092b32..90341e208d2 100644 --- a/contrib/spi/timetravel.c +++ b/contrib/spi/timetravel.c @@ -5,7 +5,7 @@ #include "executor/spi.h" /* this is what you need to work with SPI */ #include "commands/trigger.h" /* -"- and triggers */ -#include <ctype.h> /* tolower () */ +#include <ctype.h> #define ABSTIMEOID 702 /* it should be in pg_type.h */ @@ -376,7 +376,7 @@ set_timetravel(PG_FUNCTION_ARGS) NameGetDatum(relname))); d = TTOff[nTTOff] = malloc(strlen(rname) + 1); while (*s) - *d++ = tolower(*s++); + *d++ = tolower((unsigned char) *s++); *d = 0; pfree(rname); nTTOff++; |
