Fixed some compiler warnings with gcc-4.2.0

This commit is contained in:
Klaus Schmidinger
2007-08-24 13:18:21 +02:00
parent 529becb865
commit 91ad06409b
8 changed files with 14 additions and 12 deletions

View File

@@ -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