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
5422d1b7
Commit
5422d1b7
authored
May 28, 2014
by
Uwe Schulzweida
Browse files
cast result of xmalloc
parent
f96b643c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/taxis.c
View file @
5422d1b7
...
...
@@ -132,7 +132,7 @@ void taxisDefaultValue(taxis_t* taxisptr)
static
taxis_t
*
taxisNewEntry
(
cdiResH
resH
)
{
taxis_t
*
taxisptr
=
xmalloc
(
sizeof
(
taxis_t
));
taxis_t
*
taxisptr
=
(
taxis_t
*
)
xmalloc
(
sizeof
(
taxis_t
));
taxisDefaultValue
(
taxisptr
);
if
(
resH
==
CDI_UNDEFID
)
...
...
@@ -1410,7 +1410,7 @@ enum { taxisNint = 21 };
static
int
taxisGetPackSize
(
void
*
p
,
void
*
context
)
{
taxis_t
*
taxisptr
=
p
;
taxis_t
*
taxisptr
=
(
taxis_t
*
)
p
;
int
packBufferSize
=
serializeGetSize
(
taxisNint
,
DATATYPE_INT
,
context
)
+
serializeGetSize
(
1
,
DATATYPE_UINT32
,
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