mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 18:10:17 +01:00
gallium: Add extra parenthesis as advised by gcc.
This commit is contained in:
parent
b440cea343
commit
c5bf215b1b
1 changed files with 2 additions and 2 deletions
|
|
@ -263,8 +263,8 @@ debug_memory_end(unsigned long start_no)
|
|||
void *ptr;
|
||||
hdr = LIST_ENTRY(struct debug_memory_header, entry, head);
|
||||
ptr = data_from_header(hdr);
|
||||
if(start_no <= hdr->no && hdr->no < last_no ||
|
||||
last_no < start_no && (hdr->no < last_no || start_no <= hdr->no)) {
|
||||
if((start_no <= hdr->no && hdr->no < last_no) ||
|
||||
(last_no < start_no && (hdr->no < last_no || start_no <= hdr->no))) {
|
||||
debug_printf("%s:%u:%s: %u bytes at %p not freed\n",
|
||||
hdr->file, hdr->line, hdr->function,
|
||||
hdr->size, ptr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue