aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2011-01-19 04:28:19 +0100
committerAndreas Oberritter <obi@opendreambox.org>2011-01-19 04:28:19 +0100
commitb3a41d26169d1867be084a868d86d72c8f2d6af9 (patch)
treeaaacffe40b4f4124285ba87f7f7cff950cb36e2a /lib/python/Plugins/Extensions
parent2d7e9486df86b2cf4b4708e61c9d4e392ded1b4d (diff)
parentcc08c5bf0ff1d0d347703c9660aaac376e66f697 (diff)
downloadenigma2-b3a41d26169d1867be084a868d86d72c8f2d6af9.tar.gz
enigma2-b3a41d26169d1867be084a868d86d72c8f2d6af9.zip
Merge branch 'obi/master' into experimental
Diffstat (limited to 'lib/python/Plugins/Extensions')
-rw-r--r--lib/python/Plugins/Extensions/SocketMMI/src/socket_mmi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Plugins/Extensions/SocketMMI/src/socket_mmi.cpp b/lib/python/Plugins/Extensions/SocketMMI/src/socket_mmi.cpp
index 673b525c..9a69de37 100644
--- a/lib/python/Plugins/Extensions/SocketMMI/src/socket_mmi.cpp
+++ b/lib/python/Plugins/Extensions/SocketMMI/src/socket_mmi.cpp
@@ -118,11 +118,11 @@ eAutoInitP0<eSocket_UI> init_socketui(eAutoInitNumbers::rc, "Socket MMI");
int eSocketMMIHandler::send_to_mmisock( void* buf, size_t len)
{
- int ret = write(connfd, buf, len);
+ ssize_t ret = write(connfd, buf, len);
if ( ret < 0 )
eDebug("[eSocketMMIHandler] write (%m)");
- else if ( (uint)ret != len )
- eDebug("[eSocketMMIHandler] only %d bytes sent.. %d bytes should be sent", ret, len );
+ else if ( (size_t)ret != len )
+ eDebug("[eSocketMMIHandler] only %zd bytes sent.. %zu bytes should be sent", ret, len );
else
return 0;
return ret;