mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-21 17:07:04 +00:00
Merge pull request #60 from lord8266/max
Add parentheses around MAX and MIN
This commit is contained in:
commit
36fd5b72c3
1 changed files with 2 additions and 2 deletions
|
@ -76,11 +76,11 @@
|
|||
#define FREE(a) if(a) free(a)
|
||||
#endif
|
||||
#ifndef MIN
|
||||
#define MIN(a,b) ((a)>(b))?(b):(a)
|
||||
#define MIN(a,b) (((a)>(b))?(b):(a))
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) ((b)>(a))?(b):(a)
|
||||
#define MAX(a,b) (((b)>(a))?(b):(a))
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Reference in a new issue