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
89d91168
Commit
89d91168
authored
Nov 03, 2014
by
Iván Matellanes
Committed by
Alexandre Julliard
Nov 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use correct type for fread and fwrite return values.
parent
20e0a6f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
file.c
dlls/msvcrt/file.c
+2
-2
No files found.
dlls/msvcrt/file.c
View file @
89d91168
...
...
@@ -3755,7 +3755,7 @@ int CDECL MSVCRT__flsbuf(int c, MSVCRT_FILE* file)
*/
MSVCRT_size_t
CDECL
MSVCRT_fwrite
(
const
void
*
ptr
,
MSVCRT_size_t
size
,
MSVCRT_size_t
nmemb
,
MSVCRT_FILE
*
file
)
{
in
t
ret
;
MSVCRT_size_
t
ret
;
MSVCRT__lock_file
(
file
);
ret
=
MSVCRT__fwrite_nolock
(
ptr
,
size
,
nmemb
,
file
);
...
...
@@ -4016,7 +4016,7 @@ int CDECL MSVCRT__fputchar(int c)
*/
MSVCRT_size_t
CDECL
MSVCRT_fread
(
void
*
ptr
,
MSVCRT_size_t
size
,
MSVCRT_size_t
nmemb
,
MSVCRT_FILE
*
file
)
{
in
t
ret
;
MSVCRT_size_
t
ret
;
MSVCRT__lock_file
(
file
);
ret
=
MSVCRT__fread_nolock
(
ptr
,
size
,
nmemb
,
file
);
...
...
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