Merge pull request #253 from libtom/pr/rc2-fix-win64
Fix MS Windows/64bit related warnings
This commit is contained in:
commit
ff54ec2f0d
@ -919,7 +919,7 @@ static void time_dh(void)
|
||||
dh_free(&key);
|
||||
}
|
||||
t2 >>= 4;
|
||||
fprintf(stderr, "DH-%4lu make_key took %15llu cycles\n", x*8, t2);
|
||||
fprintf(stderr, "DH-%4lu make_key took %15"PRI64"u cycles\n", x*8, t2);
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
@ -30,7 +30,7 @@
|
||||
#define LTC_MILLER_RABIN_REPS 35
|
||||
#endif
|
||||
|
||||
int radix_to_bin(const void *in, int radix, void *out, size_t* len);
|
||||
int radix_to_bin(const void *in, int radix, void *out, unsigned long *len);
|
||||
|
||||
/** math descriptor */
|
||||
typedef struct {
|
||||
|
@ -31,9 +31,9 @@
|
||||
|
||||
@return CRYPT_OK on success.
|
||||
*/
|
||||
int radix_to_bin(const void *in, int radix, void *out, size_t* len)
|
||||
int radix_to_bin(const void *in, int radix, void *out, unsigned long *len)
|
||||
{
|
||||
size_t l;
|
||||
unsigned long l;
|
||||
void* mpi;
|
||||
int err;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user