aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/epgcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/epgcache.cpp')
-rw-r--r--lib/dvb/epgcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp
index 716033ee..10ca29fb 100644
--- a/lib/dvb/epgcache.cpp
+++ b/lib/dvb/epgcache.cpp
@@ -725,7 +725,7 @@ void eEPGCache::load()
if ( md5ok )
#endif
{
- int magic;
+ unsigned int magic=0;
fread( &magic, sizeof(int), 1, f);
if (magic != 0x98765432)
{
@@ -831,7 +831,7 @@ void eEPGCache::save()
int cnt=0;
if ( f )
{
- int magic = 0x98765432;
+ unsigned int magic = 0x98765432;
fwrite( &magic, sizeof(int), 1, f);
const char *text = "ENIGMA_EPG_V5";
fwrite( text, 13, 1, f );