summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-22 04:33:38 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-22 04:33:38 +0100
commita28d15e49252a42339b9c5810f0a975979c21830 (patch)
tree5a4ba7c2787d835a232f4a33eeade061a74de6b9
parentce4a51260d197bc2584a1e54a581f684eae65498 (diff)
downloadklamav-a28d15e49252a42339b9c5810f0a975979c21830.tar.gz
klamav-a28d15e49252a42339b9c5810f0a975979c21830.zip
Fix FTBFS because of unsigned int use instead of cl_error_t.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/dbviewer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dbviewer.cpp b/src/dbviewer.cpp
index f198775..7d5e200 100644
--- a/src/dbviewer.cpp
+++ b/src/dbviewer.cpp
@@ -839,8 +839,7 @@ void KlamDB::addVirusName(char *start)
unsigned int KlamDB::getSigNos()
{
-
- unsigned int ret= 0;
+ cl_error_t ret = CL_CLEAN;
unsigned int no = 0;
struct cl_engine *engine = NULL;
TQStringList lastDownloadPaths;