mirror of https://github.com/FreeRDP/FreeRDP
[channels,location] fix cast warning
This commit is contained in:
parent
c1918ac189
commit
674e84cbf3
|
@ -335,7 +335,8 @@ static UINT location_send(LocationClientContext* context, LOCATION_PDUTYPE type,
|
||||||
IWTSVirtualChannel* channel = cb->channel;
|
IWTSVirtualChannel* channel = cb->channel;
|
||||||
WINPR_ASSERT(channel);
|
WINPR_ASSERT(channel);
|
||||||
|
|
||||||
LOCATION_CALLBACK* callback = (LOCATION_CALLBACK*)loc->baseDynPlugin.channel_callbacks;
|
const LOCATION_CALLBACK* callback =
|
||||||
|
(const LOCATION_CALLBACK*)loc->baseDynPlugin.channel_callbacks;
|
||||||
WINPR_ASSERT(callback);
|
WINPR_ASSERT(callback);
|
||||||
|
|
||||||
UINT32 res = ERROR_INTERNAL_ERROR;
|
UINT32 res = ERROR_INTERNAL_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue