summaryrefslogtreecommitdiff
path: root/maps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'maps.cpp')
-rw-r--r--maps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/maps.cpp b/maps.cpp
index 5ddadd7..a21b0b8 100644
--- a/maps.cpp
+++ b/maps.cpp
@@ -244,7 +244,7 @@ void cEPGMapping::AddChannel(int ChannelNumber)
}
if (!found)
{
- tChannelID *tmp_channelids=(tChannelID *) realloc(channelids,(numchannelids+1)*sizeof(struct tChannelID));
+ tChannelID *tmp_channelids=static_cast<tChannelID *>(realloc(channelids,(numchannelids+1)*sizeof(struct tChannelID)));
if (tmp_channelids)
{
channelids=tmp_channelids;
@@ -267,7 +267,7 @@ void cEPGMapping::ReplaceChannels(int NumChannelIDs, tChannelID *ChannelIDs)
for (int i=0; i<NumChannelIDs; i++)
{
- tChannelID *tmp_channelids=(tChannelID *) realloc(channelids,(numchannelids+1)*sizeof(tChannelID));
+ tChannelID *tmp_channelids=static_cast<tChannelID *>(realloc(channelids,(numchannelids+1)*sizeof(tChannelID)));
if (tmp_channelids)
{
channelids=tmp_channelids;