fix compiler warning

This commit is contained in:
Steffen Jaeckel 2014-10-13 15:41:52 +02:00
parent 6df187aea4
commit ae307cd887

View File

@ -18,10 +18,11 @@
/* set a platform dependent unsigned long int */
int mp_set_long (mp_int * a, unsigned long b)
{
int x, res;
unsigned int x;
int res;
mp_zero (a);
/* set four bits at a time */
for (x = 0; x < sizeof(unsigned long) * 2; x++) {
/* shift the number up four bits */