Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
fcbf6961
Commit
fcbf6961
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fix compile on my mac
parent
fb4ed330
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Plugin/GSHHS.cpp
+3
-3
3 additions, 3 deletions
Plugin/GSHHS.cpp
with
3 additions
and
3 deletions
Plugin/GSHHS.cpp
+
3
−
3
View file @
fcbf6961
...
...
@@ -51,7 +51,7 @@ class GMSH_GSHHSPlugin:public GMSH_Post_Plugin
}
};
class
reader_gshhs
:
public
reader
{
/* $Id: GSHHS.cpp,v 1.2
1
2009-01-1
3 11:11:39 remacl
e Exp $
/* $Id: GSHHS.cpp,v 1.2
2
2009-01-1
5 00:43:04 geuzain
e Exp $
*
* Include file defining structures used in gshhs.c
*
...
...
@@ -81,9 +81,9 @@ class GMSH_GSHHSPlugin:public GMSH_Post_Plugin
* For use with version 1.6 of GSHHS which now has WDBII
* borders and rivers.
*/
static
const
in
t
GSHHS_DATA_VERSION
=
6
;
// For v1.5 data set
#def
in
e
GSHHS_DATA_VERSION
6
// For v1.5 data set
//define GSHHS_PROG_VERSION "1.9"
static
const
doubl
e
GSHHS_SCL
=
1.0e-6
;
// COnvert micro-degrees to degrees
#defin
e GSHHS_SCL
1.0e-6 // COnvert micro-degrees to degrees
inline
unsigned
int
swabi4
(
unsigned
int
i4
){
// For byte swapping on little-endian systems (GSHHS is defined to be bigendian)
return
(((
i4
)
>>
24
)
+
(((
i4
)
>>
8
)
&
65280
)
+
(((
i4
)
&
65280
)
<<
8
)
+
(((
i4
)
&
255
)
<<
24
));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment