summaryrefslogtreecommitdiffstats
path: root/source/lib/util_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/util_str.c')
-rw-r--r--source/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_str.c b/source/lib/util_str.c
index 86015b355ae..8acdab355a9 100644
--- a/source/lib/util_str.c
+++ b/source/lib/util_str.c
@@ -799,7 +799,7 @@ DATA_BLOB strhex_to_data_blob(const char *strhex)
{
DATA_BLOB ret_blob = data_blob(NULL, strlen(strhex)/2+1);
- ret_blob.length = strhex_to_str(ret_blob.data,
+ ret_blob.length = strhex_to_str((char*)ret_blob.data,
strlen(strhex),
strhex);