fix compiler warning
This commit is contained in:
parent
6df187aea4
commit
ae307cd887
@ -18,10 +18,11 @@
|
|||||||
/* set a platform dependent unsigned long int */
|
/* set a platform dependent unsigned long int */
|
||||||
int mp_set_long (mp_int * a, unsigned long b)
|
int mp_set_long (mp_int * a, unsigned long b)
|
||||||
{
|
{
|
||||||
int x, res;
|
unsigned int x;
|
||||||
|
int res;
|
||||||
|
|
||||||
mp_zero (a);
|
mp_zero (a);
|
||||||
|
|
||||||
/* set four bits at a time */
|
/* set four bits at a time */
|
||||||
for (x = 0; x < sizeof(unsigned long) * 2; x++) {
|
for (x = 0; x < sizeof(unsigned long) * 2; x++) {
|
||||||
/* shift the number up four bits */
|
/* shift the number up four bits */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user