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
610da00d
Commit
610da00d
authored
Feb 19, 2003
by
Brad King
Browse files
ERR: Fixed signed/unsigned warning.
parent
18a9fdf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmDocumentation.cxx
View file @
610da00d
...
...
@@ -214,7 +214,7 @@ cmDocumentation::Type cmDocumentation::CheckOptions(int argc, char** argv)
void
cmDocumentation
::
Print
(
Form
f
,
std
::
ostream
&
os
)
{
this
->
CurrentForm
=
f
;
for
(
int
i
=
0
;
i
<
this
->
Sections
.
size
();
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
this
->
Sections
.
size
();
++
i
)
{
this
->
PrintSection
(
os
,
this
->
Sections
[
i
],
this
->
Names
[
i
]);
}
...
...
@@ -541,7 +541,7 @@ void cmDocumentation::PrintColumn(std::ostream& os, const char* text)
int
column
=
0
;
bool
newSentence
=
false
;
bool
firstLine
=
true
;
int
width
=
this
->
TextWidth
-
strlen
(
this
->
TextIndent
);
int
width
=
this
->
TextWidth
-
static_cast
<
int
>
(
strlen
(
this
->
TextIndent
)
)
;
// Loop until the end of the text.
while
(
*
l
)
...
...
Write
Preview
Supports
Markdown
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