Minor updates to aid porting to FreeBSD
Based on patches provided by Jason Bacon
This commit is contained in:
@ -31,7 +31,7 @@ inline Foam::label Foam::CV2D::insertPoint
|
|||||||
const label type
|
const label type
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint nVert = number_of_vertices();
|
unsigned int nVert = number_of_vertices();
|
||||||
|
|
||||||
return insertPoint(toPoint(p), nVert, type);
|
return insertPoint(toPoint(p), nVert, type);
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ inline Foam::label Foam::CV2D::insertPoint
|
|||||||
const label type
|
const label type
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uint nVert = number_of_vertices();
|
unsigned int nVert = number_of_vertices();
|
||||||
|
|
||||||
Vertex_handle vh = insert(p);
|
Vertex_handle vh = insert(p);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -29,7 +29,6 @@ License
|
|||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/sysmacros.h>
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,9 +28,9 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * //
|
||||||
|
|
||||||
uint Foam::readUint(Istream& is)
|
unsigned int Foam::readUint(Istream& is)
|
||||||
{
|
{
|
||||||
uint val;
|
unsigned int val;
|
||||||
is >> val;
|
is >> val;
|
||||||
|
|
||||||
return val;
|
return val;
|
||||||
|
|||||||
@ -119,7 +119,7 @@ public:
|
|||||||
return p_;
|
return p_;
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Access to the uint value
|
//- Access to the uint32_t value
|
||||||
operator uint32_t&()
|
operator uint32_t&()
|
||||||
{
|
{
|
||||||
return p_;
|
return p_;
|
||||||
|
|||||||
@ -119,7 +119,7 @@ public:
|
|||||||
return p_;
|
return p_;
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Access to the uint value
|
//- Access to the uint64_t value
|
||||||
operator uint64_t&()
|
operator uint64_t&()
|
||||||
{
|
{
|
||||||
return p_;
|
return p_;
|
||||||
|
|||||||
Reference in New Issue
Block a user