summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-08-24 13:18:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-08-24 13:18:21 +0200
commit91ad06409b52eb18d3ffc2b59c0eef125ef3c5cb (patch)
treec39b52fc5a12b1c8a935a194247eebe5f86b8d0d /thread.c
parent529becb86511b1c4f859806874a8d8e3656c1b26 (diff)
downloadvdr-91ad06409b52eb18d3ffc2b59c0eef125ef3c5cb.tar.gz
vdr-91ad06409b52eb18d3ffc2b59c0eef125ef3c5cb.tar.bz2
Fixed some compiler warnings with gcc-4.2.0
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index 4eb64f1e..a0647d0e 100644
--- a/thread.c
+++ b/thread.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.c 1.61 2007/06/17 12:43:40 kls Exp $
+ * $Id: thread.c 1.62 2007/08/24 13:15:48 kls Exp $
*/
#include "thread.h"
@@ -416,7 +416,7 @@ bool cPipe::Open(const char *Command, const char *Mode)
return false;
}
- char *mode = "w";
+ const char *mode = "w";
int iopipe = 0;
if (pid > 0) { // parent process