lib: fix compiler warnings

Fix the following warnings when building the tests by using the correct
types:
cast from 'const char *' to 'void *' drops const qualifier
[-Wcast-qual]
implicit conversion changes signedness [-Wsign-conversion]
This commit is contained in:
Marcel Raad 2017-05-02 20:47:13 +02:00
parent fa12f54bba
commit cee39aa3be
No known key found for this signature in database
GPG key ID: B4668817AE6D6CD4
2 changed files with 3 additions and 3 deletions

View file

@ -610,7 +610,7 @@ static int dprintf_formatf(
int is_neg;
/* Base of a number to be written. */
long base;
unsigned long base;
/* Integral values to be written. */
mp_uintmax_t num;