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
790d204c
Commit
790d204c
authored
Aug 21, 2014
by
Thomas Jahns
🤸
Browse files
Fix implicit type conversions in iegDefLevel.
parent
6d617c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_ieg.c
View file @
790d204c
...
...
@@ -420,8 +420,8 @@ void iegDefLevel(int *pdb, int *gdb, double *vct, int zaxisID, int levelID)
else
{
IEG_G_Size
(
gdb
)
+=
(
vctsize
*
4
);
memcpy
(
vct
,
zaxisInqVctPtr
(
zaxisID
),
vctsize
/
2
*
sizeof
(
double
));
memcpy
(
vct
+
50
,
zaxisInqVctPtr
(
zaxisID
)
+
vctsize
/
2
,
vctsize
/
2
*
sizeof
(
double
));
memcpy
(
vct
,
zaxisInqVctPtr
(
zaxisID
),
(
size_t
)
vctsize
/
2
*
sizeof
(
double
));
memcpy
(
vct
+
50
,
zaxisInqVctPtr
(
zaxisID
)
+
vctsize
/
2
,
(
size_t
)
vctsize
/
2
*
sizeof
(
double
));
}
break
;
}
...
...
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