mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
dont typecast lvalue since gcc hates that
This commit is contained in:
parent
9c44dce304
commit
23fedb3ad4
@ -945,7 +945,7 @@ static void config (int sig __attribute__((unused)))
|
||||
if (sep != 0) {
|
||||
int i;
|
||||
|
||||
#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;}
|
||||
#define SWAP(type, a, b) do {type c=(type)a; a=(type)b; b=(type)c;} while (0)
|
||||
|
||||
omask = sigblock (SIGBLOCK);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user