diff --git a/channels/cliprdr/client/cliprdr_main.c b/channels/cliprdr/client/cliprdr_main.c index 2e1847a5f..eccbd0908 100644 --- a/channels/cliprdr/client/cliprdr_main.c +++ b/channels/cliprdr/client/cliprdr_main.c @@ -38,8 +38,8 @@ #include "cliprdr_format.h" #include "../cliprdr_common.h" -const char* type_FileGroupDescriptorW = "FileGroupDescriptorW"; -const char* type_FileContents = "FileContents"; +const char type_FileGroupDescriptorW[] = "FileGroupDescriptorW"; +const char type_FileContents[] = "FileContents"; CliprdrClientContext* cliprdr_get_client_interface(cliprdrPlugin* cliprdr) { diff --git a/channels/cliprdr/client/cliprdr_main.h b/channels/cliprdr/client/cliprdr_main.h index 9e899f597..94cffdd04 100644 --- a/channels/cliprdr/client/cliprdr_main.h +++ b/channels/cliprdr/client/cliprdr_main.h @@ -55,7 +55,7 @@ typedef struct CliprdrClientContext* cliprdr_get_client_interface(cliprdrPlugin* cliprdr); UINT cliprdr_send_error_response(cliprdrPlugin* cliprdr, UINT16 type); -extern const char* type_FileGroupDescriptorW; -extern const char* type_FileContents; +extern const char type_FileGroupDescriptorW[]; +extern const char type_FileContents[]; #endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H */