[settings] fix type mismatch warnings

This commit is contained in:
Armin Novak
2023-10-16 19:37:36 +02:00
committed by akallabeth
parent cda6239119
commit 6e6559c41a
14 changed files with 130 additions and 104 deletions

View File

@@ -283,7 +283,8 @@ BOOL pointer_cache_put(rdpPointerCache* pointer_cache, UINT32 index, rdpPointer*
BOOL colorCache)
{
rdpPointer* prevPointer;
const size_t id = colorCache ? FreeRDP_ColorPointerCacheSize : FreeRDP_PointerCacheSize;
const FreeRDP_Settings_Keys_UInt32 id =
colorCache ? FreeRDP_ColorPointerCacheSize : FreeRDP_PointerCacheSize;
WINPR_ASSERT(pointer_cache);
WINPR_ASSERT(pointer_cache->context);