eitd:fix some compil warnings

Origin commit data
------------------
Branch: ni/coolstream
Commit: aba1f96d70
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-10-01 (Fri, 01 Oct 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2021-10-01 23:08:53 +02:00
committed by vanhofen
parent 364a86a34d
commit 7ec6424e5c
5 changed files with 36 additions and 32 deletions

View File

@@ -665,7 +665,8 @@ void *insertEventsfromXMLTV(void * data)
reader_ready = true;
pthread_exit(NULL);
}
std::string url = (char *) data;
static std::string url = "";
url = (std::string)(char *) data;
std::string tmp_name = randomFile(getFileExt(url), "/tmp", 8);
int64_t now = time_monotonic_ms();