Commit a406dde
committed
Fix node_list_rm_first() and node_list_rm_with_alignment()
Fix checking alignment in the following functions of the coarse library:
- node_list_rm_first() and
- node_list_rm_with_alignment()
In order to check the alignment we have to verify an address
of the block (block->data), not a size (block->size) of course ...
Signed-off-by: Lukasz Dorau <[email protected]>1 parent f36d893 commit a406dde
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
0 commit comments