We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5907ac1 commit 9228024Copy full SHA for 9228024
loader/windows/icd_windows.c
@@ -111,8 +111,8 @@ static WinLayer* pWinLayerCapacity;
111
112
static int __cdecl compareLayer(const void *a, const void *b)
113
{
114
- return ((WinLayer *)a)->priority < ((WinLayer *)b)->priority ? -1 :
115
- ((WinLayer *)a)->priority > ((WinLayer *)b)->priority ? 1 : 0;
+ return ((const WinLayer *)a)->priority < ((const WinLayer *)b)->priority ? -1 :
+ ((const WinLayer *)a)->priority > ((const WinLayer *)b)->priority ? 1 : 0;
116
}
117
118
static BOOL layerAdd(const char* szName, DWORD priority)
0 commit comments