diff options
Diffstat (limited to 'contrib/pgcrypto/pgcrypto.c')
-rw-r--r-- | contrib/pgcrypto/pgcrypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/pgcrypto.c b/contrib/pgcrypto/pgcrypto.c index bf700e3da98..d3dc36dc9ae 100644 --- a/contrib/pgcrypto/pgcrypto.c +++ b/contrib/pgcrypto/pgcrypto.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: pgcrypto.c,v 1.11 2001/11/20 15:50:53 momjian Exp $ + * $Id: pgcrypto.c,v 1.12 2001/12/30 23:09:41 tgl Exp $ */ #include <postgres.h> @@ -556,7 +556,7 @@ find_provider(text *name, p = VARDATA(name); for (i = 0; i < len; i++) - buf[i] = tolower(p[i]); + buf[i] = tolower((unsigned char) p[i]); buf[len] = 0; err = provider_lookup(buf, &res); |