MacOSX buildfix. Doesn't run right yet though.

This commit is contained in:
Henrik Rydgård committed 2012-11-25 12:25:07 +01:00
1 parent ec25bfc9a4
commit fc453c979f
12 files changed
+57 -31

No files matched your search

+1 -2
View File
@@ -83,11 +83,10 @@ std::string ArrayToString(const u8 *data, u32 size, int line_len, bool spaces)
{
std::ostringstream oss;
oss << std::setfill('0') << std::hex;
for (int line = 0; size; ++data, --size)
{
oss << std::setw(2) << (int)*data;
if (line_len == ++line)
{
oss << '\n';