diff options
author | David Robillard <d@drobilla.net> | 2017-12-29 10:19:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 10:44:36 -0500 |
commit | 9244ef0b3f4401152b0d6b5368a85495c332c2b2 (patch) | |
tree | 0264d54706e02f37af4323b387096ee31972b663 /src/plugin.c | |
parent | a209c04661be1e276cba41bfccb6a6bc67be7c2a (diff) | |
download | lilv-9244ef0b3f4401152b0d6b5368a85495c332c2b2.tar.gz lilv-9244ef0b3f4401152b0d6b5368a85495c332c2b2.tar.bz2 lilv-9244ef0b3f4401152b0d6b5368a85495c332c2b2.zip |
Parenthesize macro argument
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c index 09dbf3f..97eadac 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -1033,7 +1033,7 @@ new_lv2_env(const SerdNode* base) { SerdEnv* env = serd_env_new(base); -#define USTR(s) ((const uint8_t*)s) +#define USTR(s) ((const uint8_t*)(s)) serd_env_set_prefix_from_strings(env, USTR("doap"), USTR(LILV_NS_DOAP)); serd_env_set_prefix_from_strings(env, USTR("foaf"), USTR(LILV_NS_FOAF)); serd_env_set_prefix_from_strings(env, USTR("lv2"), USTR(LILV_NS_LV2)); |