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
f2b64a79
Commit
f2b64a79
authored
Sep 22, 2014
by
Thomas Jahns
🤸
Browse files
Fix implicit conversion of vctsize in iegAddRecord.
parent
05c6cca8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_ieg.c
View file @
f2b64a79
...
...
@@ -721,12 +721,11 @@ void iegAddRecord(stream_t *streamptr, int param, int *pdb, int *gdb, double *vc
if
(
leveltype
==
ZAXIS_HYBRID
)
{
int
i
;
double
tmpvct
[
100
];
in
t
vctsize
=
IEG_G_NumVCP
(
gdb
);
size_
t
vctsize
=
(
size_t
)
IEG_G_NumVCP
(
gdb
);
for
(
i
=
0
;
i
<
vctsize
/
2
;
i
++
)
tmpvct
[
i
]
=
vct
[
i
];
for
(
i
=
0
;
i
<
vctsize
/
2
;
i
++
)
tmpvct
[
i
+
vctsize
/
2
]
=
vct
[
i
+
50
];
for
(
size_t
i
=
0
;
i
<
vctsize
/
2
;
i
++
)
tmpvct
[
i
]
=
vct
[
i
];
for
(
size_t
i
=
0
;
i
<
vctsize
/
2
;
i
++
)
tmpvct
[
i
+
vctsize
/
2
]
=
vct
[
i
+
50
];
varDefVCT
(
vctsize
,
tmpvct
);
}
...
...
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