Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
5343910c
Commit
5343910c
authored
Feb 01, 2008
by
Bill Hoffman
Browse files
ENH: fix more warnings
parent
889d900e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/kwsys/SystemInformation.cxx
View file @
5343910c
...
...
@@ -2153,7 +2153,7 @@ int SystemInformationImplementation::RetreiveInformationFromCpuInfoFile()
return
0
;
}
long
in
t
fileSize
=
0
;
size_
t
fileSize
=
0
;
while
(
!
feof
(
fd
))
{
buffer
+=
fgetc
(
fd
);
...
...
@@ -2809,7 +2809,7 @@ kwsys_stl::string SystemInformationImplementation::ParseValueFromKStat(const cha
args
.
push_back
(
"-p"
);
kwsys_stl
::
string
command
=
arguments
;
long
in
t
start
=
-
1
;
size_
t
start
=
command
.
npos
;
size_t
pos
=
command
.
find
(
' '
,
0
);
while
(
pos
!=
command
.
npos
)
{
...
...
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