diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-24 13:18:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-24 13:18:21 +0200 |
commit | 91ad06409b52eb18d3ffc2b59c0eef125ef3c5cb (patch) | |
tree | c39b52fc5a12b1c8a935a194247eebe5f86b8d0d /thread.c | |
parent | 529becb86511b1c4f859806874a8d8e3656c1b26 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |