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
71406615
Commit
71406615
authored
Oct 02, 2001
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Oct 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix implicit type declarations. Add required cast.
parent
ef546434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
port.c
library/port.c
+3
-3
No files found.
library/port.c
View file @
71406615
...
...
@@ -653,7 +653,7 @@ unsigned short* wine_rewrite_s4tos2(const wchar_t* str4 )
*/
char
*
ecvt
(
double
number
,
int
ndigits
,
int
*
decpt
,
int
*
sign
)
{
static
buf
[
40
];
/* ought to be enough */
static
char
buf
[
40
];
/* ought to be enough */
char
*
dec
;
sprintf
(
buf
,
"%.*e"
,
ndigits
/* FIXME wrong */
,
number
);
*
sign
=
(
number
<
0
);
...
...
@@ -667,7 +667,7 @@ char *ecvt (double number, int ndigits, int *decpt, int *sign)
*/
char
*
fcvt
(
double
number
,
int
ndigits
,
int
*
decpt
,
int
*
sign
)
{
static
buf
[
40
];
/* ought to be enough */
static
char
buf
[
40
];
/* ought to be enough */
char
*
dec
;
sprintf
(
buf
,
"%.*e"
,
ndigits
,
number
);
*
sign
=
(
number
<
0
);
...
...
@@ -683,7 +683,7 @@ char *fcvt (double number, int ndigits, int *decpt, int *sign)
*/
char
*
gcvt
(
double
number
,
size_t
ndigit
,
char
*
buff
)
{
sprintf
(
buff
,
"%.*E"
,
ndigit
,
number
);
sprintf
(
buff
,
"%.*E"
,
(
int
)
ndigit
,
number
);
return
buff
;
}
#endif
/* HAVE_ECVT */
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