Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
libkleo
Commits
b0e8920d
Verified
Commit
b0e8920d
authored
Aug 30, 2022
by
Ingo Klöcker
Committed by
Ingo Klöcker
Sep 13, 2022
Browse files
Fix compiler warnings
Fix warning "initialization discards 'const' qualifier from pointer target type"
parent
c92f46a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/gnupg-registry.c
View file @
b0e8920d
...
...
@@ -37,7 +37,7 @@ w32_shgetfolderpath(HWND a, int b, HANDLE c, DWORD d, LPSTR e)
static
HRESULT
(
WINAPI
*
func
)(
HWND
,
int
,
HANDLE
,
DWORD
,
LPSTR
);
if
(
!
initialized
)
{
static
char
*
dllnames
[]
=
{
"shell32.dll"
,
"shfolder.dll"
,
NULL
};
static
const
char
*
dllnames
[]
=
{
"shell32.dll"
,
"shfolder.dll"
,
NULL
};
void
*
handle
;
int
i
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment