diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2011-01-19 04:28:19 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2011-01-19 04:28:19 +0100 |
| commit | b3a41d26169d1867be084a868d86d72c8f2d6af9 (patch) | |
| tree | aaacffe40b4f4124285ba87f7f7cff950cb36e2a /lib/python | |
| parent | 2d7e9486df86b2cf4b4708e61c9d4e392ded1b4d (diff) | |
| parent | cc08c5bf0ff1d0d347703c9660aaac376e66f697 (diff) | |
| download | enigma2-b3a41d26169d1867be084a868d86d72c8f2d6af9.tar.gz enigma2-b3a41d26169d1867be084a868d86d72c8f2d6af9.zip | |
Merge branch 'obi/master' into experimental
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Plugins/Extensions/SocketMMI/src/socket_mmi.cpp | 6 |
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; |
