repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into release
[deb_libcec.git]
/
src
/
lib
/
platform
/
windows
/
serialport.cpp
diff --git
a/src/lib/platform/windows/serialport.cpp
b/src/lib/platform/windows/serialport.cpp
index c595468cf0b5621d3efc7de3a39bd521a03138f2..e1cec66d83ce10c2cdc73e56202c1989aa991278 100644
(file)
--- a/
src/lib/platform/windows/serialport.cpp
+++ b/
src/lib/platform/windows/serialport.cpp
@@
-1,7
+1,7
@@
/*
* This file is part of the libCEC(R) library.
*
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-201
2
Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-201
3
Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@
-103,7
+103,7
@@
ssize_t CSerialSocket::Write(void* data, size_t len)
if (IsOpen())
{
ssize_t iReturn = SerialSocketWrite(m_socket, &m_iError, data, len);
if (IsOpen())
{
ssize_t iReturn = SerialSocketWrite(m_socket, &m_iError, data, len);
- if (iReturn != len)
+ if (iReturn !=
(ssize_t)
len)
{
m_strError = "unable to write to the serial port";
FormatWindowsError(GetLastError(), m_strError);
{
m_strError = "unable to write to the serial port";
FormatWindowsError(GetLastError(), m_strError);