From: José Fonseca Date: Thu, 19 Jun 2008 12:16:16 +0000 (+0900) Subject: gallium: Add extra parenthesis as advised by gcc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5bf215b1b955c8dafeae84a5f526052fd2e0256;p=mesa.git gallium: Add extra parenthesis as advised by gcc. --- diff --git a/src/gallium/auxiliary/util/p_debug_mem.c b/src/gallium/auxiliary/util/p_debug_mem.c index 51dbd0a7101..ed18c6540ea 100644 --- a/src/gallium/auxiliary/util/p_debug_mem.c +++ b/src/gallium/auxiliary/util/p_debug_mem.c @@ -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);