Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a140d8f3
Commit
a140d8f3
authored
May 22, 2018
by
Uwe Schulzweida
Browse files
changed type of date to int64_t.
parent
2ecfa566
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/calendar.c
View file @
a140d8f3
...
...
@@ -177,8 +177,8 @@ int main(void)
{
int
calendar
=
CALENDAR_STANDARD
;
int
nmin
;
int
vdate0
,
v
time0
;
int
v
date
,
vtime
;
int
64_t
vdate0
,
v
date
;
int
v
time0
,
vtime
;
int
ijulinc
;
int
i
,
j
=
0
;
int
year
,
mon
,
day
,
hour
,
minute
,
second
;
...
...
src/stream_gribapi.c
View file @
a140d8f3
...
...
@@ -1798,7 +1798,7 @@ void gribapiDefDateTimeAbs(int editionNumber, grib_handle *gh, int64_t date, int
}
static
int
gribapiDefDateTimeRel
(
int
editionNumber
,
grib_handle
*
gh
,
int64_t
rdate
,
int
rtime
,
int
vdate
,
int
vtime
,
int
gribapiDefDateTimeRel
(
int
editionNumber
,
grib_handle
*
gh
,
int64_t
rdate
,
int
rtime
,
int
64_t
vdate
,
int
vtime
,
int
productDefinitionTemplate
,
int
typeOfGeneratingProcess
,
int
tsteptype
,
int
timeunit
,
int
calendar
,
int
gcinit
)
{
int
status
=
-
1
;
...
...
src/timebase.c
View file @
a140d8f3
...
...
@@ -204,8 +204,8 @@ void decode_juldaysec(int calendar, int64_t julday, int secofday, int *year, int
int
main
(
void
)
{
int
nmin
;
int
vdate0
,
v
time0
;
int
v
date
,
vtime
;
int
64_t
vdate0
,
v
date
;
int
v
time0
,
vtime
;
int
ijulinc
;
int
i
,
j
=
0
;
int
year
,
mon
,
day
,
hour
,
minute
,
second
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment