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
fc5b09b7
Commit
fc5b09b7
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Fix checksumming of zaxis vct.
parent
6b6e6f7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zaxis.c
View file @
fc5b09b7
...
...
@@ -1776,7 +1776,7 @@ zaxisUnpack(char * unpackBuffer, int unpackBufferSize,
zaxisP
->
vct
,
size
,
DATATYPE_FLT64
,
context
);
serializeUnpack
(
unpackBuffer
,
unpackBufferSize
,
unpackBufferPos
,
&
d
,
1
,
DATATYPE_UINT32
,
context
);
xassert
(
cdiCheckSum
(
DATATYPE_FLT
,
size
,
zaxisP
->
vct
)
==
d
);
xassert
(
cdiCheckSum
(
DATATYPE_FLT
64
,
size
,
zaxisP
->
vct
)
==
d
);
}
serializeUnpack
(
unpackBuffer
,
unpackBufferSize
,
unpackBufferPos
,
...
...
@@ -1868,7 +1868,7 @@ zaxisPack(void * voidP, void * packBuffer, int packBufferSize,
serializePack
(
zaxisP
->
vct
,
zaxisP
->
vctsize
,
DATATYPE_FLT64
,
packBuffer
,
packBufferSize
,
packBufferPos
,
context
);
d
=
cdiCheckSum
(
DATATYPE_FLT
,
zaxisP
->
vctsize
,
zaxisP
->
vct
);
d
=
cdiCheckSum
(
DATATYPE_FLT
64
,
zaxisP
->
vctsize
,
zaxisP
->
vct
);
serializePack
(
&
d
,
1
,
DATATYPE_UINT32
,
packBuffer
,
packBufferSize
,
packBufferPos
,
context
);
}
...
...
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