Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "fix warning: format '%x' expects argument of type 'unsigned i…
…nt*', but argument 3 has type 'u8* {aka unsigned char*}'"

This reverts commit b9953f5.
  • Loading branch information
RachelBryk committed Jun 24, 2013
1 parent 5f91998 commit f73a97b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Core/Core/Src/Movie.cpp
Expand Up @@ -60,7 +60,7 @@ std::string author = "";
u64 g_titleID = 0;
unsigned char MD5[16];
u8 bongos;
u32 revision[5];
u8 revision[20];

bool g_bRecordingFromSaveState = false;
bool g_bPolled = false;
Expand Down Expand Up @@ -1184,9 +1184,9 @@ void GetSettings()
g_bClearSave = !File::Exists(SConfig::GetInstance().m_strMemoryCardA);
bMemcard = SConfig::GetInstance().m_EXIDevice[0] == EXIDEVICE_MEMORYCARD;

for (int i = 0; i < 5; ++i)
for (int i = 0; i < 20; ++i)
{
sscanf(SCM_REV_STR + 8 * i, "%08x", &revision[i]);
sscanf(SCM_REV_STR + 2 * i, "%02x", &revision[i]);
}
}

Expand Down

0 comments on commit f73a97b

Please sign in to comment.