From 288bd0e3f65c7a5a8ebf44eb1f3af996317df35a Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver.bock@aei.mpg.de> Date: Sun, 13 Apr 2008 23:46:26 +0200 Subject: [PATCH] We need a non-const char here due to BOINC's API :-( --- BOINCClientAdapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BOINCClientAdapter.cpp b/BOINCClientAdapter.cpp index 901e2ce..4f301b8 100644 --- a/BOINCClientAdapter.cpp +++ b/BOINCClientAdapter.cpp @@ -45,7 +45,7 @@ void BOINCClientAdapter::readSharedMemoryArea() } // the shared memory area's not available, try to get a pointer to it 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) { // fine, get the contents recursively -- GitLab