From 892fa52b3e9ecaa7cd3e376863ad3275dc084aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Fri, 10 Jul 2009 23:08:46 +0200 Subject: Fixed crash with FrontendHasLock and FrontendHasSignal (closes #147 - thanks to a.g.prosat at tochka.ru for reporting this) --- common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.c') diff --git a/common.c b/common.c index a536ffd..5512bae 100644 --- a/common.c +++ b/common.c @@ -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); -- cgit v1.2.3