Fix things so that those who wish to compile with -std=c++0x can. To active this with the cmake build add CXXFLAGS="-std=c++0x" before cmake on the command line, or export that variable. This enables the experimental features like std::thread, std::mutex, etc., that are provided by g++ instead of using the implementation in dolphin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7333 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-03-12 00:01:33 +00:00
parent 2a694edf93
commit 1b583a0441
7 changed files with 8 additions and 7 deletions

View File

@ -42,7 +42,7 @@ public:
void start(int node)
{
m_last_start = m_ptr;
unsigned char hdr[3] = {0xe0, node, 0};
unsigned char hdr[3] = {0xe0, (unsigned char)node, 0};
m_csum = 0;
addData(hdr, 3, 1);
}