From 6d553a7f3cd22e2feb4337e750224d0e74c3a125 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 25 Jun 2019 10:25:31 +0200 Subject: [PATCH] Fixed #5441, thank you @ekse --- winpr/libwinpr/clipboard/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/libwinpr/clipboard/posix.c b/winpr/libwinpr/clipboard/posix.c index b5c1cc4..723fcbb 100644 --- a/winpr/libwinpr/clipboard/posix.c +++ b/winpr/libwinpr/clipboard/posix.c @@ -418,7 +418,7 @@ static BOOL process_file_name(const char* local_name, wArrayList* files) static BOOL process_uri(const char* uri, size_t uri_len, wArrayList* files) { - const char* prefix = "file://"; + const char prefix []= "file://"; BOOL result = FALSE; char* name = NULL; const size_t prefixLen = strnlen(prefix, sizeof(prefix)); -- 2.7.4