Author: bonefish Date: 2011-06-06 16:15:22 +0200 (Mon, 06 Jun 2011) New Revision: 41966 Changeset: https://dev.haiku-os.org/changeset/41966 Modified: haiku/branches/developer/bonefish/signals/headers/private/kernel/thread.h haiku/branches/developer/bonefish/signals/src/system/kernel/thread.cpp Log: ThreadCreationAttributes::InitFromUserAttributes(): Made "userAttribute" parameter const. Modified: haiku/branches/developer/bonefish/signals/headers/private/kernel/thread.h =================================================================== --- haiku/branches/developer/bonefish/signals/headers/private/kernel/thread.h 2011-06-06 12:04:31 UTC (rev 41965) +++ haiku/branches/developer/bonefish/signals/headers/private/kernel/thread.h 2011-06-06 14:15:22 UTC (rev 41966) @@ -58,7 +58,8 @@ team_id team = -1, Thread* thread = NULL); status_t InitFromUserAttributes( - thread_creation_attributes* userAttributes, + const thread_creation_attributes* + userAttributes, char* nameBuffer); }; Modified: haiku/branches/developer/bonefish/signals/src/system/kernel/thread.cpp =================================================================== --- haiku/branches/developer/bonefish/signals/src/system/kernel/thread.cpp 2011-06-06 12:04:31 UTC (rev 41965) +++ haiku/branches/developer/bonefish/signals/src/system/kernel/thread.cpp 2011-06-06 14:15:22 UTC (rev 41966) @@ -546,7 +546,7 @@ */ status_t ThreadCreationAttributes::InitFromUserAttributes( - thread_creation_attributes* userAttributes, char* nameBuffer) + const thread_creation_attributes* userAttributes, char* nameBuffer) { if (userAttributes == NULL || !IS_USER_ADDRESS(userAttributes) || user_memcpy((thread_creation_attributes*)this, userAttributes,