diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | common.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -75,6 +75,8 @@ ____-__-__: Version 1.3 - Removed backward compatibility to VDR < 1.6.0 (closes #137) - Fixed compile error if ImageMagick has double as Quantum type (closes #140) - Use pkg-config to find compilation flags, libs etc for FreeType and Imlib2. +- Fixed crash with FrontendHasLock and FrontendHasSignal (closes #147 - + thanks to a.g.prosat at tochka.ru for reporting this) 2009-06-01: Version 1.2 @@ -119,7 +119,7 @@ int GetFrontendSNR(void) bool GetFrontendHasLock(void) { - uint16_t value = 0; + fe_status_t value = fe_status_t(0); char *dev = NULL; asprintf(&dev, FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0); @@ -134,7 +134,7 @@ bool GetFrontendHasLock(void) bool GetFrontendHasSignal(void) { - uint16_t value = 0; + fe_status_t value = fe_status_t(0); char *dev = NULL; asprintf(&dev, FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0); |