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:
parent
125c105e3f
commit
079615f11f
@ -283,7 +283,7 @@ Serial::SerialImpl::available ()
|
|||||||
ss << "Error while checking status of the serial port: " << GetLastError();
|
ss << "Error while checking status of the serial port: " << GetLastError();
|
||||||
THROW (IOException, ss.str().c_str());
|
THROW (IOException, ss.str().c_str());
|
||||||
}
|
}
|
||||||
return (size_t) (cs.cbInQue);
|
return static_cast<size_t>(cs.cbInQue);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user