Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c5bc2647
Commit
c5bc2647
authored
May 23, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
May 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -Wwrite-strings warnings.
parent
f9cad774
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
12 deletions
+13
-12
lnk.c
tools/winedump/lnk.c
+3
-3
minidump.c
tools/winedump/minidump.c
+1
-1
msmangle.c
tools/winedump/msmangle.c
+3
-2
pe.c
tools/winedump/pe.c
+2
-2
winedump.h
tools/winedump/winedump.h
+1
-1
lang.h
tools/wmc/lang.h
+2
-2
write.c
tools/wmc/write.c
+1
-1
No files found.
tools/winedump/lnk.c
View file @
c5bc2647
...
...
@@ -226,7 +226,7 @@ static int dump_pidl(int fd)
return
0
;
}
static
void
print_unicode_string
(
unsigned
short
*
str
)
static
void
print_unicode_string
(
const
unsigned
short
*
str
)
{
while
(
*
str
)
{
...
...
@@ -236,7 +236,7 @@ static void print_unicode_string(unsigned short *str)
printf
(
"
\n
"
);
}
static
int
dump_string
(
int
fd
,
char
*
what
,
int
unicode
)
static
int
dump_string
(
int
fd
,
c
onst
c
har
*
what
,
int
unicode
)
{
lnk_string
*
data
;
...
...
@@ -300,7 +300,7 @@ static int dump_location(int fd)
return
0
;
}
static
int
dump_advertise_info
(
int
fd
,
char
*
type
)
static
int
dump_advertise_info
(
int
fd
,
c
onst
c
har
*
type
)
{
LINK_ADVERTISEINFO
*
avt
;
...
...
tools/winedump/minidump.c
View file @
c5bc2647
...
...
@@ -225,7 +225,7 @@ void mdmp_dump(void)
case
SystemInfoStream
:
{
MINIDUMP_SYSTEM_INFO
*
msi
=
(
MINIDUMP_SYSTEM_INFO
*
)
stream
;
c
har
*
str
;
c
onst
char
*
str
;
char
tmp
[
128
];
printf
(
"System Information:
\n
"
);
...
...
tools/winedump/msmangle.c
View file @
c5bc2647
...
...
@@ -69,7 +69,8 @@ int symbol_demangle (parsed_symbol *sym)
int
is_static
=
0
,
is_const
=
0
;
char
*
function_name
=
NULL
;
char
*
class_name
=
NULL
;
char
*
name
,
*
const_status
;
char
*
name
;
const
char
*
const_status
;
static
unsigned
int
hash
=
0
;
/* In case of overloaded functions */
unsigned
int
data_flags
=
0
;
...
...
@@ -673,7 +674,7 @@ static char *get_constraints_convention_2 (char **str, compound_type *ct)
*/
static
char
*
get_type_string
(
const
char
c
,
const
int
constraints
)
{
char
*
type_string
;
c
onst
c
har
*
type_string
;
if
(
constraints
&
CT_EXTENDED
)
{
...
...
tools/winedump/pe.c
View file @
c5bc2647
...
...
@@ -113,7 +113,7 @@ static const char* DirectoryNames[16] = {
static
void
dump_pe_header
(
void
)
{
char
*
str
;
c
onst
c
har
*
str
;
IMAGE_FILE_HEADER
*
fileHeader
;
IMAGE_OPTIONAL_HEADER
*
optionalHeader
;
unsigned
i
;
...
...
@@ -931,7 +931,7 @@ static void do_grab_sym( enum FileSig sig, void* pmt )
DWORD
*
pName
;
DWORD
*
pFunc
;
WORD
*
pOrdl
;
char
*
ptr
;
c
onst
c
har
*
ptr
;
DWORD
*
map
;
PE_nt_headers
=
pmt
;
...
...
tools/winedump/winedump.h
View file @
c5bc2647
...
...
@@ -131,7 +131,7 @@ typedef struct __globals
char
*
directory
;
/* -I */
const
char
*
forward_dll
;
/* -f */
const
char
*
dll_name
;
/* -o */
char
*
uc_dll_name
;
/* -o */
c
onst
c
har
*
uc_dll_name
;
/* -o */
/* Option arguments: dump mode */
const
char
*
dumpsect
;
/* -j */
...
...
tools/wmc/lang.h
View file @
c5bc2647
...
...
@@ -27,8 +27,8 @@ typedef struct language {
unsigned
id
;
unsigned
doscp
;
unsigned
wincp
;
c
har
*
name
;
c
har
*
country
;
c
onst
char
*
name
;
c
onst
char
*
country
;
}
language_t
;
void
show_languages
(
void
);
...
...
tools/wmc/write.c
View file @
c5bc2647
...
...
@@ -470,7 +470,7 @@ static void write_rcinline(FILE *fp)
{
char
*
cptr
;
int
l
=
blk
->
msgs
[
j
]
->
len
;
char
*
comma
=
j
==
blk
->
nmsg
-
1
&&
i
==
lbp
->
nblk
-
1
?
""
:
","
;
c
onst
c
har
*
comma
=
j
==
blk
->
nmsg
-
1
&&
i
==
lbp
->
nblk
-
1
?
""
:
","
;
cptr
=
make_string
(
blk
->
msgs
[
j
]
->
msg
,
l
,
unicodeout
?
0
:
blk
->
msgs
[
j
]
->
cp
);
fprintf
(
fp
,
"
\n
/* Msg 0x%08x */ 0x%04x, 0x000%c,
\n
"
,
blk
->
idlo
+
j
,
...
...
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