Skip to content

Commit

Permalink
Removing unnecessary parentheses.
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviomotamedeiros committed Nov 27, 2015
1 parent 89730d4 commit d36327e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tk/mem.c
Expand Up @@ -562,9 +562,9 @@ static void mem_checkdl(struct mem_debug *dl)
goto err2;
}
#if SUN || SUN386 /* Bus error if we read a long from an odd address */
error = (memcmp(&dl->data[dl->Mnbytes],&afterval,sizeof(AFTERVAL)) != 0);
error = memcmp(&dl->data[dl->Mnbytes],&afterval,sizeof(AFTERVAL)) != 0;
#else
error = (*(long *) &dl->data[dl->Mnbytes] != AFTERVAL);
error = *(long *) &dl->data[dl->Mnbytes] != AFTERVAL;
#endif
if (error)
{
Expand Down

0 comments on commit d36327e

Please sign in to comment.