Skip to content
Snippets Groups Projects
Commit 633e2b12 authored by Henry Weller's avatar Henry Weller
Browse files

Minor updates to aid porting to FreeBSD

Based on patches provided by Jason Bacon
parent a52cae91
Branches
Tags
No related merge requests found
......@@ -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_;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment