Skip to content
Snippets Groups Projects
Commit 288bd0e3 authored by Oliver Bock's avatar Oliver Bock
Browse files

We need a non-const char here due to BOINC's API :-(

parent ebf78c0e
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ void BOINCClientAdapter::readSharedMemoryArea() ...@@ -45,7 +45,7 @@ void BOINCClientAdapter::readSharedMemoryArea()
} }
// the shared memory area's not available, try to get a pointer to it // the shared memory area's not available, try to get a pointer to it
else { else {
m_SharedMemoryArea = (char*) boinc_graphics_get_shmem(m_SharedMemoryAreaIdentifier.c_str()); m_SharedMemoryArea = (char*) boinc_graphics_get_shmem((char*)m_SharedMemoryAreaIdentifier.c_str());
if(m_SharedMemoryArea) { if(m_SharedMemoryArea) {
// fine, get the contents recursively // fine, get the contents recursively
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment