From: Bruce Momjian Date: Mon, 12 Jun 2006 16:29:08 +0000 (+0000) Subject: Avoid use of C commment inside C comment from recent Win32 int overflow patch. X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=14f9171f88010ea3d82a472b10c4257167abfe12;p=users%2Fbernd%2Fpostgres.git Avoid use of C commment inside C comment from recent Win32 int overflow patch. --- diff --git a/src/backend/utils/adt/int.c b/src/backend/utils/adt/int.c index 37d2e86532..e849739da5 100644 --- a/src/backend/utils/adt/int.c +++ b/src/backend/utils/adt/int.c @@ -745,7 +745,7 @@ int4mul(PG_FUNCTION_ARGS) #ifdef WIN32 /* * Win32 doesn't throw a catchable exception for - * SELECT -2147483648 /* INT_MIN */ * (-1); + * SELECT -2147483648 * (-1); -- INT_MIN */ if (arg2 == -1 && arg1 == INT_MIN) ereport(ERROR, @@ -791,7 +791,7 @@ int4div(PG_FUNCTION_ARGS) #ifdef WIN32 /* * Win32 doesn't throw a catchable exception for - * SELECT -2147483648 /* INT_MIN */ / (-1); + * SELECT -2147483648 / (-1); -- INT_MIN */ if (arg2 == -1 && arg1 == INT_MIN) ereport(ERROR,