mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
Correct parentheses and brackets clang warnings
This commit is contained in:
parent
8b46390028
commit
e2ea0e4d2f
@ -33,7 +33,7 @@
|
||||
|
||||
#include <openssl/buffer.h>
|
||||
|
||||
#define BLOCKDATA(BLOCK) (unsigned char *)BLOCK->data->data
|
||||
#define BLOCKDATA(BLOCK) (unsigned char *)(BLOCK)->data->data
|
||||
|
||||
namespace encfs {
|
||||
|
||||
|
@ -116,8 +116,9 @@ restart:
|
||||
term.c_lflag &= ~(ECHO | ECHONL);
|
||||
}
|
||||
#ifdef VSTATUS
|
||||
if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
|
||||
if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) {
|
||||
term.c_cc[VSTATUS] = _POSIX_VDISABLE;
|
||||
}
|
||||
#endif
|
||||
(void)tcsetattr(input, _T_FLUSH, &term);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user