mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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
|
||||
)
|
||||
{
|
||||
uint nVert = number_of_vertices();
|
||||
unsigned int nVert = number_of_vertices();
|
||||
|
||||
return insertPoint(toPoint(p), nVert, type);
|
||||
}
|
||||
@ -55,7 +55,7 @@ inline Foam::label Foam::CV2D::insertPoint
|
||||
const label type
|
||||
)
|
||||
{
|
||||
uint nVert = number_of_vertices();
|
||||
unsigned int nVert = number_of_vertices();
|
||||
|
||||
Vertex_handle vh = insert(p);
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -29,7 +29,6 @@ License
|
||||
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/sysmacros.h>
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -28,9 +28,9 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * //
|
||||
|
||||
uint Foam::readUint(Istream& is)
|
||||
unsigned int Foam::readUint(Istream& is)
|
||||
{
|
||||
uint val;
|
||||
unsigned int val;
|
||||
is >> val;
|
||||
|
||||
return val;
|
||||
|
||||
@ -119,7 +119,7 @@ public:
|
||||
return p_;
|
||||
}
|
||||
|
||||
//- Access to the uint value
|
||||
//- Access to the uint32_t value
|
||||
operator uint32_t&()
|
||||
{
|
||||
return p_;
|
||||
|
||||
@ -119,7 +119,7 @@ public:
|
||||
return p_;
|
||||
}
|
||||
|
||||
//- Access to the uint value
|
||||
//- Access to the uint64_t value
|
||||
operator uint64_t&()
|
||||
{
|
||||
return p_;
|
||||
|
||||
Reference in New Issue
Block a user