summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-03-14 13:21:08 +0000
committerphintuka <phintuka>2007-03-14 13:21:08 +0000
commitdb2efc0df509bf258781d6ae5869e45ec979f4b8 (patch)
treea6aaf98b4fda605c4b95ff76a47e4c4a8a1eaaa7
parentf22495c359182a08d37620cb3322749bb6e4a9f1 (diff)
downloadxineliboutput-db2efc0df509bf258781d6ae5869e45ec979f4b8.tar.gz
xineliboutput-db2efc0df509bf258781d6ae5869e45ec979f4b8.tar.bz2
Fixed compiler warning
-rw-r--r--frontend_local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend_local.c b/frontend_local.c
index f9a6866c..c894d75a 100644
--- a/frontend_local.c
+++ b/frontend_local.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend_local.c,v 1.22 2007-03-14 11:44:30 phintuka Exp $
+ * $Id: frontend_local.c,v 1.23 2007-03-14 13:21:08 phintuka Exp $
*
*/
@@ -206,7 +206,7 @@ int cXinelibLocal::Xine_Control(const char *cmd)
TRACEF("cXinelibLocal::Xine_Control");
if(cmd && *cmd && !GetStopSignal()) {
char buf[4096];
- if(snprintf(buf, sizeof(buf), "%s\r\n", cmd) >= sizeof(buf)) {
+ if(snprintf(buf, sizeof(buf), "%s\r\n", cmd) >= (int)sizeof(buf)) {
buf[sizeof(buf)-1] = 0;
LOGMSG("Xine_Control: message too long ! (%s)", buf);
return 0;