diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-06 12:57:45 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-06 12:57:45 +0100 |
commit | 6a208294bef44f588e067383aa2e35af1aa23a16 (patch) | |
tree | 463f2aa875c26a6d0df507c2559a9bb821111082 /recording.h | |
parent | 1b973fd8ebb0a5dca7c82fac0651c33ecb7edd50 (diff) | |
download | vdr-6a208294bef44f588e067383aa2e35af1aa23a16.tar.gz vdr-6a208294bef44f588e067383aa2e35af1aa23a16.tar.bz2 |
Several code modifications to avoid compiler warnings
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recording.h b/recording.h index bc3479fe..6c95a34e 100644 --- a/recording.h +++ b/recording.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.h 2.10 2009/11/21 16:12:55 kls Exp $ + * $Id: recording.h 2.11 2009/12/06 12:46:31 kls Exp $ */ #ifndef __RECORDING_H @@ -253,7 +253,7 @@ public: class cFileName { private: cUnbufferedFile *file; - int fileNumber; + uint16_t fileNumber; char *fileName, *pFileNumber; bool record; bool blocking; @@ -262,11 +262,11 @@ public: cFileName(const char *FileName, bool Record, bool Blocking = false, bool IsPesRecording = false); ~cFileName(); const char *Name(void) { return fileName; } - int Number(void) { return fileNumber; } + uint16_t Number(void) { return fileNumber; } bool GetLastPatPmtVersions(int &PatVersion, int &PmtVersion); cUnbufferedFile *Open(void); void Close(void); - cUnbufferedFile *SetOffset(int Number, off_t Offset = 0); + cUnbufferedFile *SetOffset(int Number, off_t Offset = 0); // yes, Number is int for easier internal calculating cUnbufferedFile *NextFile(void); }; |