Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 10a91e0

Browse files
committed
Silence Solaris compiler warning, per buildfarm.
1 parent af18d3d commit 10a91e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pgcrypto/imath.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2828
SOFTWARE.
2929
*/
30-
/* $PostgreSQL: pgsql/contrib/pgcrypto/imath.c,v 1.6 2006/10/04 00:29:46 momjian Exp $ */
30+
/* $PostgreSQL: pgsql/contrib/pgcrypto/imath.c,v 1.7 2007/07/15 22:43:40 tgl Exp $ */
3131

3232
#include "postgres.h"
3333
#include "px.h"
@@ -3199,7 +3199,7 @@ s_norm(mp_int a, mp_int b)
31993199
mp_digit d = b->digits[MP_USED(b) - 1];
32003200
int k = 0;
32013201

3202-
while (d < (mp_digit) (1 << (MP_DIGIT_BIT - 1)))
3202+
while (d < (mp_digit) ((mp_digit) 1 << (MP_DIGIT_BIT - 1)))
32033203
{ /* d < (MP_RADIX / 2) */
32043204
d <<= 1;
32053205
++k;

0 commit comments

Comments
 (0)