Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit ca4e080

Browse files
committed
Fix CodeXL-3098 GetFrameBufferImage request not handling server status correctly in CodeXL client
1 parent d1626d9 commit ca4e080

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CodeXL/Components/Graphics/AMDTGraphicsServerInterface/src/common/AMDTGraphicsServerInterface.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,8 @@ void GraphicsServerCommunication::CheckServerStatus(unsigned char* pBuffer, unsi
803803

804804
if (1 == bufferSize && pBuffer != nullptr)
805805
{
806-
appState = static_cast<TargetAppState>(*pBuffer);
806+
int numericValue = pBuffer[0];
807+
appState = static_cast<TargetAppState>(numericValue);
807808
}
808809
}
809810

0 commit comments

Comments
 (0)