diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2011-02-05 00:52:14 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2011-02-05 00:52:14 +0100 |
| commit | 33e4aeedec7bde0b0f853396f7b308412bd85496 (patch) | |
| tree | 077eed5fd9e42d2000dc7d09b2621fe0d3b82a8e /lib/python/Plugins/Extensions/SocketMMI | |
| parent | 423b12c94b41e0f7e9a7715b06ba7f479c197780 (diff) | |
| parent | 3ca124dd916f82dcfd4f069daf1a3f342956e520 (diff) | |
| download | enigma2-33e4aeedec7bde0b0f853396f7b308412bd85496.tar.gz enigma2-33e4aeedec7bde0b0f853396f7b308412bd85496.zip | |
Merge branch 'obi/master'
Diffstat (limited to 'lib/python/Plugins/Extensions/SocketMMI')
| -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; |
