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
c3280486
Commit
c3280486
authored
May 28, 2014
by
Uwe Schulzweida
Browse files
cast void* to double*
parent
5422d1b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_record.c
View file @
c3280486
...
...
@@ -391,7 +391,7 @@ void stream_write_record(int streamID, int memtype, const void *data, int nmiss)
case
FILETYPE_SRV
:
{
if
(
memtype
==
MEMTYPE_FLOAT
)
Error
(
"srvWriteRecord not implemented for memtype float!"
);
status
=
srvWriteRecord
(
streamptr
,
data
);
status
=
srvWriteRecord
(
streamptr
,
(
const
double
*
)
data
);
break
;
}
#endif
...
...
@@ -399,7 +399,7 @@ void stream_write_record(int streamID, int memtype, const void *data, int nmiss)
case
FILETYPE_EXT
:
{
if
(
memtype
==
MEMTYPE_FLOAT
)
Error
(
"extWriteRecord not implemented for memtype float!"
);
status
=
extWriteRecord
(
streamptr
,
data
);
status
=
extWriteRecord
(
streamptr
,
(
const
double
*
)
data
);
break
;
}
#endif
...
...
@@ -407,7 +407,7 @@ void stream_write_record(int streamID, int memtype, const void *data, int nmiss)
case
FILETYPE_IEG
:
{
if
(
memtype
==
MEMTYPE_FLOAT
)
Error
(
"iegWriteRecord not implemented for memtype float!"
);
status
=
iegWriteRecord
(
streamptr
,
data
);
status
=
iegWriteRecord
(
streamptr
,
(
const
double
*
)
data
);
break
;
}
#endif
...
...
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