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
2de22f1b
Commit
2de22f1b
authored
Jul 13, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Cast-qual warnings fix.
parent
02d14c85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
search.c
tools/winedump/search.c
+5
-5
No files found.
tools/winedump/search.c
View file @
2de22f1b
...
...
@@ -243,7 +243,7 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
{
int
is_const
,
is_volatile
,
is_struct
,
is_signed
,
is_unsigned
,
ptrs
=
0
;
const
char
*
iter
,
*
type_str
,
*
base_type
,
*
catch_unsigned
;
char
dest_type
;
char
dest_type
,
*
type_str_tmp
;
assert
(
sym
&&
sym
->
symbol
);
assert
(
proto
&&
*
proto
);
...
...
@@ -297,13 +297,13 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
if
(
!*
proto
)
return
NULL
;
type_str
=
str_substring
(
type_str
,
proto
);
type_str
=
type_str_tmp
=
str_substring
(
type_str
,
proto
);
if
(
iter
==
base_type
||
catch_unsigned
)
{
/* 'unsigned' with no type */
char
*
tmp
=
str_create
(
2
,
type_str
,
" int"
);
free
(
(
char
*
)
type_str
);
type_str
=
tmp
;
free
(
type_str_tmp
);
type_str
=
t
ype_str_tmp
=
t
mp
;
}
symbol_clean_string
(
type_str
);
...
...
@@ -326,7 +326,7 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
iter
=
str_find_set
(
proto
,
" ,)"
);
if
(
!
iter
)
{
free
(
(
char
*
)
type_str
);
free
(
type_str_tmp
);
return
NULL
;
}
sym
->
arg_name
[
arg
]
=
str_substring
(
proto
,
iter
);
...
...
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