diff options
author | David Robillard <d@drobilla.net> | 2016-07-31 17:10:51 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-31 17:10:51 -0400 |
commit | 93479309fc791000018d657266549358357ff208 (patch) | |
tree | 7902b7940b50d92b58241ed66cd9010ee905db4f /utils | |
parent | d87785a18d5f9ee409b794b33250c05ca8acc950 (diff) | |
download | lilv-93479309fc791000018d657266549358357ff208.tar.gz lilv-93479309fc791000018d657266549358357ff208.tar.bz2 lilv-93479309fc791000018d657266549358357ff208.zip |
Fix compilation with C++ compilers
Diffstat (limited to 'utils')
-rw-r--r-- | utils/uri_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/uri_table.h b/utils/uri_table.h index 6a27c61..880d560 100644 --- a/utils/uri_table.h +++ b/utils/uri_table.h @@ -54,7 +54,7 @@ uri_table_map(LV2_URID_Map_Handle handle, const size_t len = strlen(uri); table->uris = (char**)realloc(table->uris, ++table->n_uris * sizeof(char*)); - table->uris[table->n_uris - 1] = malloc(len + 1); + table->uris[table->n_uris - 1] = (char*)malloc(len + 1); memcpy(table->uris[table->n_uris - 1], uri, len + 1); return table->n_uris; } |