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
Development
openfoam
Commits
eb372599
Commit
eb372599
authored
Dec 29, 2008
by
henry
Browse files
Changed the "unsigned int" old-style cast to a "unsigned" type conversion to avoid
warning: use of old-style cast
parent
5381d742
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/global/global.Cver
View file @
eb372599
...
...
@@ -37,6 +37,11 @@ Description
const char* const Foam::FOAMversion = "WM_PROJECT_VERSION";
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Static initializers for string::null, word::null and fileName::null
#include "stringsGlobals.C"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Setup an error handler for the global new operator
...
...
src/OpenFOAM/primitives/strings/fileName/fileName.C
View file @
eb372599
...
...
@@ -33,7 +33,6 @@ License
const
char
*
const
Foam
::
fileName
::
typeName
=
"fileName"
;
int
Foam
::
fileName
::
debug
(
debug
::
debugSwitch
(
fileName
::
typeName
,
0
));
const
Foam
::
fileName
Foam
::
fileName
::
null
;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...
...
src/OpenFOAM/primitives/strings/string/string.C
View file @
eb372599
...
...
@@ -32,7 +32,6 @@ License
const
char
*
const
Foam
::
string
::
typeName
=
"string"
;
int
Foam
::
string
::
debug
(
debug
::
debugSwitch
(
string
::
typeName
,
0
));
const
Foam
::
string
Foam
::
string
::
null
;
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
...
...
src/OpenFOAM/primitives/strings/word/word.C
View file @
eb372599
...
...
@@ -31,6 +31,5 @@ License
const
char
*
const
Foam
::
word
::
typeName
=
"word"
;
int
Foam
::
word
::
debug
(
Foam
::
debug
::
debugSwitch
(
word
::
typeName
,
0
));
const
Foam
::
word
Foam
::
word
::
null
;
// ************************************************************************* //
src/OpenFOAM/primitives/uint/uintIO.C
View file @
eb372599
...
...
@@ -44,7 +44,6 @@ namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Return a string representation of an uint
word
name
(
const
unsigned
int
i
)
{
std
::
ostringstream
osBuffer
;
...
...
@@ -66,7 +65,7 @@ Istream& operator>>(Istream& is, unsigned int& i)
if
(
t
.
isLabel
())
{
i
=
(
unsigned
int
)
(
t
.
labelToken
());
i
=
unsigned
(
t
.
labelToken
());
}
else
{
...
...
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