summaryrefslogtreecommitdiff
path: root/tools/cxsocket.h
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-06-04 11:00:04 +0000
committerphintuka <phintuka>2006-06-04 11:00:04 +0000
commit446fcba07736fc0637649ff711489c8ef9da426c (patch)
treeed39857a4656406f137dbeba2f733cb6931bc1cd /tools/cxsocket.h
parentb221726a183066704f6af552fbe663f2959f190c (diff)
downloadxineliboutput-446fcba07736fc0637649ff711489c8ef9da426c.tar.gz
xineliboutput-446fcba07736fc0637649ff711489c8ef9da426c.tar.bz2
x86 fixes
const added to several arguments and data control stream write result checks added possible deadlock removed from vdr_plugin_keypress OSD endian problems fixed
Diffstat (limited to 'tools/cxsocket.h')
-rw-r--r--tools/cxsocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cxsocket.h b/tools/cxsocket.h
index 3c5c73a3..612919ed 100644
--- a/tools/cxsocket.h
+++ b/tools/cxsocket.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: cxsocket.h,v 1.2 2006-06-04 08:18:18 phintuka Exp $
+ * $Id: cxsocket.h,v 1.3 2006-06-04 11:00:04 phintuka Exp $
*
*/
@@ -136,7 +136,7 @@ static inline int write_osd_command(int fd, osd_command_t *cmd)
}
if(cmd->palette && cmd->colors &&
(ssize_t)(sizeof(xine_clut_t)*ntohl(cmd->colors)) !=
- timed_write(fd, cmd->palette, (int)(sizeof(xine_clut_t)*ntohl(cmd->colors)), 200)) {
+ timed_write(fd, cmd->palette, sizeof(xine_clut_t)*ntohl(cmd->colors), 200)) {
LOGDBG("write_osd_command: write (palette) failed");
return 0;
}