8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af18d3d commit 10a91e0Copy full SHA for 10a91e0
contrib/pgcrypto/imath.c
@@ -27,7 +27,7 @@
27
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
SOFTWARE.
29
*/
30
-/* $PostgreSQL: pgsql/contrib/pgcrypto/imath.c,v 1.6 2006/10/04 00:29:46 momjian Exp $ */
+/* $PostgreSQL: pgsql/contrib/pgcrypto/imath.c,v 1.7 2007/07/15 22:43:40 tgl Exp $ */
31
32
#include "postgres.h"
33
#include "px.h"
@@ -3199,7 +3199,7 @@ s_norm(mp_int a, mp_int b)
3199
mp_digit d = b->digits[MP_USED(b) - 1];
3200
int k = 0;
3201
3202
- while (d < (mp_digit) (1 << (MP_DIGIT_BIT - 1)))
+ while (d < (mp_digit) ((mp_digit) 1 << (MP_DIGIT_BIT - 1)))
3203
{ /* d < (MP_RADIX / 2) */
3204
d <<= 1;
3205
++k;
0 commit comments