Fixed const/type warnings
This commit is contained in:
parent
02896b0656
commit
a403848e61
@ -747,8 +747,16 @@ size_t pf_config_modules_count(const proxyConfig* config)
|
||||
|
||||
const char** pf_config_modules(const proxyConfig* config)
|
||||
{
|
||||
union
|
||||
{
|
||||
char** ppc;
|
||||
const char** cppc;
|
||||
} cnv;
|
||||
|
||||
WINPR_ASSERT(config);
|
||||
return (const char**)config->Modules;
|
||||
|
||||
cnv.ppc = config->Modules;
|
||||
return cnv.cppc;
|
||||
}
|
||||
|
||||
static BOOL pf_config_copy_string(char** dst, const char* src)
|
||||
|
@ -343,7 +343,7 @@ static BOOL x11_shadow_input_extended_mouse_event(rdpShadowSubsystem* subsystem,
|
||||
{
|
||||
#ifdef WITH_XTEST
|
||||
x11ShadowSubsystem* x11 = (x11ShadowSubsystem*)subsystem;
|
||||
int button = 0;
|
||||
UINT button = 0;
|
||||
BOOL down = FALSE;
|
||||
rdpShadowServer* server;
|
||||
rdpShadowSurface* surface;
|
||||
|
Loading…
Reference in New Issue
Block a user