Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4c6149ee
Commit
4c6149ee
authored
Jun 01, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate some -Wwrite-strings warnings.
parent
acbb3f2f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
shelllink.c
dlls/shell32/tests/shelllink.c
+6
-6
shlfileop.c
dlls/shell32/tests/shlfileop.c
+3
-3
shlfolder.c
dlls/shell32/tests/shlfolder.c
+1
-1
No files found.
dlls/shell32/tests/shelllink.c
View file @
4c6149ee
...
...
@@ -90,7 +90,7 @@ static void test_get_set()
char
mypath
[
MAX_PATH
];
char
buffer
[
INFOTIPSIZE
];
LPITEMIDLIST
pidl
,
tmp_pidl
;
char
*
str
;
c
onst
c
har
*
str
;
int
i
;
WORD
w
;
...
...
@@ -270,13 +270,13 @@ static void test_get_set()
typedef
struct
{
char
*
description
;
char
*
workdir
;
char
*
path
;
c
onst
c
har
*
description
;
c
onst
c
har
*
workdir
;
c
onst
c
har
*
path
;
LPITEMIDLIST
pidl
;
char
*
arguments
;
c
onst
c
har
*
arguments
;
int
showcmd
;
char
*
icon
;
c
onst
c
har
*
icon
;
int
icon_id
;
WORD
hotkey
;
}
lnk_desc_t
;
...
...
dlls/shell32/tests/shlfileop.c
View file @
4c6149ee
...
...
@@ -44,7 +44,7 @@ static void InitFunctionPointers(void)
}
/* creates a file with the specified name for tests */
void
createTestFile
(
CHAR
*
name
)
void
createTestFile
(
const
CHAR
*
name
)
{
HANDLE
file
;
DWORD
written
;
...
...
@@ -56,7 +56,7 @@ void createTestFile(CHAR *name)
CloseHandle
(
file
);
}
BOOL
file_exists
(
CHAR
*
name
)
BOOL
file_exists
(
const
CHAR
*
name
)
{
return
GetFileAttributesA
(
name
)
!=
INVALID_FILE_ATTRIBUTES
;
}
...
...
@@ -95,7 +95,7 @@ void clean_after_shfo_tests(void)
files - string with file names, separated by null characters. Ends on a double
null characters
*/
void
set_curr_dir_path
(
CHAR
*
buf
,
CHAR
*
files
)
void
set_curr_dir_path
(
CHAR
*
buf
,
const
CHAR
*
files
)
{
buf
[
0
]
=
0
;
while
(
files
[
0
])
...
...
dlls/shell32/tests/shlfolder.c
View file @
4c6149ee
...
...
@@ -41,7 +41,7 @@
IMalloc
*
ppM
;
/* creates a file with the specified name for tests */
void
CreateTestFile
(
CHAR
*
name
)
void
CreateTestFile
(
const
CHAR
*
name
)
{
HANDLE
file
;
DWORD
written
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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