Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
b87bf16c
...
b87bf16c19d7067f2e940a7f1bcddc9de67743f7
authored
2002-01-14 15:55:29 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed erroneous typecasts.
1 parent
c12fc767
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
argp/argp-parse.c
argp/argp-parse.c
View file @
b87bf16
...
...
@@ -528,15 +528,15 @@ parser_init (struct parser *parser, const struct argp *argp,
if
(
!
parser
->
storage
)
return
ENOMEM
;
parser
->
groups
=
parser
->
storage
;
parser
->
groups
=
(
struct
group
*
)
parser
->
storage
;
/* To please Watcom CC
parser->child_inputs = parser->storage + GLEN;
parser->long_opts = parser->storage + GLEN + CLEN;
parser->short_opts = parser->storage + GLEN + CLEN + LLEN;
*/
parser
->
child_inputs
=
(
void
**
)(
parser
->
storage
)
+
GLEN
;
parser
->
long_opts
=
(
struct
option
*
)(
parser
->
storage
)
+
GLEN
+
CLEN
;
parser
->
short_opts
=
(
char
*
)(
parser
->
storage
)
+
GLEN
+
CLEN
+
LLEN
;
parser
->
child_inputs
=
(
void
**
)(
(
char
*
)
parser
->
storage
+
GLEN
)
;
parser
->
long_opts
=
(
struct
option
*
)(
(
char
*
)
parser
->
storage
+
GLEN
+
CLEN
)
;
parser
->
short_opts
=
(
char
*
)
parser
->
storage
+
GLEN
+
CLEN
+
LLEN
;
memset
(
parser
->
child_inputs
,
0
,
szs
.
num_child_inputs
*
sizeof
(
void
*
));
parser_convert
(
parser
,
argp
,
flags
);
...
...
Please
register
or
sign in
to post a comment