Skip to content

Commit e70919b

Browse files
committed
ofxNetwork fix long long to long
1 parent 057f065 commit e70919b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/ofxNetwork/src/ofxTCPManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ bool ofxTCPManager::Accept(ofxTCPManager& sConnect)
187187
fd_set fd;
188188
FD_ZERO(&fd);
189189
FD_SET(m_hSocket, &fd);
190-
timeval tv= {(time_t)m_dwTimeoutAccept, 0};
190+
timeval tv= {static_cast<long>(m_dwTimeoutAccept), 0};
191191
if(select(0, &fd, NULL, NULL, &tv) == 0) {
192192
ofxNetworkLogLastError();
193193
return(false);

0 commit comments

Comments
 (0)