winpr/pipe: fix variable type - unsigned to signed
fcntl returns int. Comparison to 0 < always returned false.
This commit is contained in:
parent
fae0c4a6e5
commit
adff58f48d
@ -308,7 +308,7 @@ BOOL WaitNamedPipeW(LPCWSTR lpNamedPipeName, DWORD nTimeOut)
|
||||
BOOL SetNamedPipeHandleState(HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout)
|
||||
{
|
||||
int fd;
|
||||
unsigned long flags;
|
||||
int flags;
|
||||
WINPR_NAMED_PIPE* pNamedPipe;
|
||||
|
||||
pNamedPipe = (WINPR_NAMED_PIPE*) hNamedPipe;
|
||||
|
Loading…
Reference in New Issue
Block a user