cosmetic: cast to avoid compiler warning

This commit is contained in:
Neels Hofmeyr 2016-02-16 12:23:23 +01:00
parent 95a112f75a
commit 578ecbbf62
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ int BIT_STRING_fromBuf(BIT_STRING_t *st, const uint8_t *str, unsigned int bit_le
}
if (len < 0)
len = strlen(str);
len = strlen((char*)str);
buf = MALLOC(len);
if (!buf) {