Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10a91e0

Browse files
committed
Silence Solaris compiler warning, per buildfarm.
1 parentaf18d3d commit10a91e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/pgcrypto/imath.c

Lines changed: 2 additions & 2 deletions
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_digitd=b->digits[MP_USED(b)-1];
32003200
intk=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)

[8]ページ先頭

©2009-2025 Movatter.jp