summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c4
-rw-r--r--test/missing_descriptor.lv2/missing_descriptor.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index dac3f4a..fb2b974 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -2095,7 +2095,7 @@ test_replace_version(void)
LilvNode* minor = NULL;
LilvNode* micro = NULL;
- char* old_bundle_path = malloc(strlen(LILV_TEST_DIR) + 32);
+ char* old_bundle_path = (char*)malloc(strlen(LILV_TEST_DIR) + 32);
strcpy(old_bundle_path, LILV_TEST_DIR);
strcat(old_bundle_path, "old_version.lv2/");
@@ -2115,7 +2115,7 @@ test_replace_version(void)
lilv_node_free(micro);
lilv_node_free(minor);
- char* new_bundle_path = malloc(strlen(LILV_TEST_DIR) + 32);
+ char* new_bundle_path = (char*)malloc(strlen(LILV_TEST_DIR) + 32);
strcpy(new_bundle_path, LILV_TEST_DIR);
strcat(new_bundle_path, "new_version.lv2/");
diff --git a/test/missing_descriptor.lv2/missing_descriptor.c b/test/missing_descriptor.lv2/missing_descriptor.c
index 0aa2050..2902850 100644
--- a/test/missing_descriptor.lv2/missing_descriptor.c
+++ b/test/missing_descriptor.lv2/missing_descriptor.c
@@ -17,4 +17,4 @@
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
-LV2_SYMBOL_EXPORT const char* msg = "this is not the thing you're looking for";
+const char* msg = "this is not the thing you're looking for";