Skip to content

Commit 4b8391a

Browse files
committed
fix "discard ‘const’ qualifier" warning in disjoint pool
1 parent 8b15a5d commit 4b8391a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pool/pool_disjoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ void umfDisjointPoolSharedLimitsDestroy(
965965

966966
umf_result_t
967967
umfDisjointPoolParamsCreate(umf_disjoint_pool_params_handle_t *hParams) {
968-
static char *DEFAULT_NAME = "disjoint_pool";
968+
static const char *DEFAULT_NAME = "disjoint_pool";
969969

970970
if (!hParams) {
971971
LOG_ERR("disjoint pool params handle is NULL");

0 commit comments

Comments
 (0)