Skip to content

Commit

Permalink
fix -Waddress-of-packed-member
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Apr 23, 2020
1 parent ec76ced commit 9b2637e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pvrclient-mythtv.cpp
Expand Up @@ -1744,7 +1744,7 @@ PVR_ERROR PVRClientMythTV::GetTimers(ADDON_HANDLE handle)

// Add it to memorandom: cf UpdateTimer()
MYTH_SHARED_PTR<PVR_TIMER> pTag = MYTH_SHARED_PTR<PVR_TIMER>(new PVR_TIMER(tag));
m_PVRtimerMemorandum.insert(std::make_pair((unsigned int&)tag.iClientIndex, pTag));
m_PVRtimerMemorandum.insert(std::make_pair(static_cast<unsigned int>(tag.iClientIndex), pTag));
PVR->TransferTimerEntry(handle, &tag);
if (g_bExtraDebug)
XBMC->Log(LOG_DEBUG, "%s: #%u: IN=%d RS=%d type %u state %d parent %u autoexpire %d", __FUNCTION__,
Expand Down

0 comments on commit 9b2637e

Please sign in to comment.