summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2007-07-15 22:43:40 +0000
committerTom Lane2007-07-15 22:43:40 +0000
commit970c699b68240c9aa0f2e3d70d1012d21a1724bd (patch)
treef8c796cc020e282053dfee72b771023b0e4c1650
parente6b97b06253a561f47ea7e3bbe10071aaedfbe7a (diff)
Silence Solaris compiler warning, per buildfarm.
-rw-r--r--contrib/pgcrypto/imath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/imath.c b/contrib/pgcrypto/imath.c
index e983465ea7..98b9f3abdc 100644
--- a/contrib/pgcrypto/imath.c
+++ b/contrib/pgcrypto/imath.c
@@ -3199,7 +3199,7 @@ s_norm(mp_int a, mp_int b)
mp_digit d = b->digits[MP_USED(b) - 1];
int k = 0;
- while (d < (mp_digit) (1 << (MP_DIGIT_BIT - 1)))
+ while (d < (mp_digit) ((mp_digit) 1 << (MP_DIGIT_BIT - 1)))
{ /* d < (MP_RADIX / 2) */
d <<= 1;
++k;