File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (C) 2024 Intel Corporation
2+ * Copyright (C) 2024-2025 Intel Corporation
33 *
44 * Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
55 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -278,7 +278,7 @@ static block_t *node_list_rm_first(ravl_free_blocks_head_t *head_node,
278278 assert (node -> prev == NULL );
279279 struct block_t * block = node -> block ;
280280
281- if (IS_NOT_ALIGNED (block -> size , alignment )) {
281+ if (IS_NOT_ALIGNED ((( uintptr_t ) block -> data ) , alignment )) {
282282 return NULL ;
283283 }
284284
@@ -303,7 +303,7 @@ static block_t *node_list_rm_with_alignment(ravl_free_blocks_head_t *head_node,
303303
304304 ravl_free_blocks_elem_t * node ;
305305 for (node = head_node -> head ; node != NULL ; node = node -> next ) {
306- if (IS_ALIGNED (node -> block -> size , alignment )) {
306+ if (IS_ALIGNED ((( uintptr_t ) node -> block -> data ) , alignment )) {
307307 return node_list_rm (head_node , node );
308308 }
309309 }
You can’t perform that action at this time.
0 commit comments