Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
755e3bf7
Commit
755e3bf7
authored
Mar 27, 2009
by
zhanyong.wan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes MSVC casting warning.
parent
e120fc58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gtest-port.h
include/gtest/internal/gtest-port.h
+2
-2
No files found.
include/gtest/internal/gtest-port.h
View file @
755e3bf7
...
...
@@ -791,10 +791,10 @@ inline FILE* fdopen(int fd, const char* mode) {
}
inline
int
fclose
(
FILE
*
fp
)
{
return
::
fclose
(
fp
);
}
inline
int
read
(
int
fd
,
void
*
buf
,
size_
t
count
)
{
inline
int
read
(
int
fd
,
void
*
buf
,
unsigned
in
t
count
)
{
return
static_cast
<
int
>
(
::
read
(
fd
,
buf
,
count
));
}
inline
int
write
(
int
fd
,
const
void
*
buf
,
size_
t
count
)
{
inline
int
write
(
int
fd
,
const
void
*
buf
,
unsigned
in
t
count
)
{
return
static_cast
<
int
>
(
::
write
(
fd
,
buf
,
count
));
}
inline
int
close
(
int
fd
)
{
return
::
close
(
fd
);
}
...
...
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