summaryrefslogtreecommitdiff
path: root/test/persistence_test_customlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/persistence_test_customlib.c')
-rw-r--r--test/persistence_test_customlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/persistence_test_customlib.c b/test/persistence_test_customlib.c
index 9295df5..93cc80a 100644
--- a/test/persistence_test_customlib.c
+++ b/test/persistence_test_customlib.c
@@ -91,7 +91,7 @@ int plugin_handle_get_data(int handle, char* buffer, int size)
//printf("plugin_handle_get_data: %s\n", LIBIDENT);
(void)handle;
- return snprintf(buffer, size, "Custom plugin -> plugin_get_data_handle: %s!", LIBIDENT);
+ return snprintf(buffer, (size_t)size, "Custom plugin -> plugin_get_data_handle: %s!", LIBIDENT);
}
/**
* @brief get data
@@ -111,7 +111,7 @@ int plugin_get_data(const char* path, char* buffer, int size)
(void)buffer;
(void)size;
- return snprintf(buffer, size, "Custom plugin -> plugin_get_data: %s!", LIBIDENT);
+ return snprintf(buffer, (size_t)size, "Custom plugin -> plugin_get_data: %s!", LIBIDENT);
}