1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00

Update win.cc

This commit is contained in:
daniser 2013-08-06 02:08:22 +03:00
parent 125c105e3f
commit 079615f11f

View File

@ -283,7 +283,7 @@ Serial::SerialImpl::available ()
ss << "Error while checking status of the serial port: " << GetLastError();
THROW (IOException, ss.str().c_str());
}
return (size_t) (cs.cbInQue);
return static_cast<size_t>(cs.cbInQue);
}
size_t