summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-16 12:23:23 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-16 12:23:23 +0100
commit578ecbbf628a59d6b4c36d6ae96754b4d86417af (patch)
tree99a059257813739f1dd77b6e0653ea0b1838e23a /src
parent95a112f75ab7154e375d9c407f233f95c826f2f3 (diff)
cosmetic: cast to avoid compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/asn1helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1helpers.c b/src/asn1helpers.c
index 638cdb6..8ce9bf4 100644
--- a/src/asn1helpers.c
+++ b/src/asn1helpers.c
@@ -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) {