summaryrefslogtreecommitdiff
path: root/diseqc.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-01-09 15:21:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-01-09 15:21:13 +0100
commit6121095a300bb5cd8731aefb74bc7b26315ce985 (patch)
tree2f8f67ecf42386332011b2bb44ac450231ab4730 /diseqc.h
parent6773ab35d2e8638b906346b51f678f1090bc0454 (diff)
downloadvdr-6121095a300bb5cd8731aefb74bc7b26315ce985.tar.gz
vdr-6121095a300bb5cd8731aefb74bc7b26315ce985.tar.bz2
Changed 'unsigned' to 'signed' in some places to avoid trouble with abs() in gcc6+
Diffstat (limited to 'diseqc.h')
-rw-r--r--diseqc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/diseqc.h b/diseqc.h
index eef36a6a..9ae9dc72 100644
--- a/diseqc.h
+++ b/diseqc.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: diseqc.h 3.1 2013/06/12 11:52:17 kls Exp $
+ * $Id: diseqc.h 4.1 2017/01/09 15:11:19 kls Exp $
*/
#ifndef __DISEQC_H
@@ -86,7 +86,7 @@ private:
mutable int scrBank;
char *commands;
bool parsing;
- uint SetScrFrequency(uint SatFrequency, const cScr *Scr, uint8_t *Codes) const;
+ int SetScrFrequency(int SatFrequency, const cScr *Scr, uint8_t *Codes) const;
int SetScrPin(const cScr *Scr, uint8_t *Codes) const;
const char *Wait(const char *s) const;
const char *GetPosition(const char *s) const;
@@ -96,7 +96,7 @@ public:
cDiseqc(void);
~cDiseqc();
bool Parse(const char *s);
- eDiseqcActions Execute(const char **CurrentAction, uchar *Codes, uint8_t *MaxCodes, const cScr *Scr, uint *Frequency) const;
+ eDiseqcActions Execute(const char **CurrentAction, uchar *Codes, uint8_t *MaxCodes, const cScr *Scr, int *Frequency) const;
///< Parses the DiSEqC commands and returns the appropriate action code
///< with every call. CurrentAction must be the address of a character pointer,
///< which is initialized to NULL. This pointer is used internally while parsing