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); |            dh_free(&key); | ||||||
|        } |        } | ||||||
|        t2 >>= 4; |        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 | #else | ||||||
|  | |||||||
| @ -30,7 +30,7 @@ | |||||||
|    #define LTC_MILLER_RABIN_REPS    35 |    #define LTC_MILLER_RABIN_REPS    35 | ||||||
| #endif | #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 */ | /** math descriptor */ | ||||||
| typedef struct { | typedef struct { | ||||||
|  | |||||||
| @ -31,9 +31,9 @@ | |||||||
| 
 | 
 | ||||||
|    @return CRYPT_OK on success. |    @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; |    void* mpi; | ||||||
|    int err; |    int err; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user