Skip to content
Snippets Groups Projects
Commit e74fa927 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix pointless conversion.

parent d324c81d
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ serializeStrTabUnpack(const void *buf, int buf_size, int *position,
serializeUnpack(buf, buf_size, position,
strTab[i], len, DATATYPE_TXT, context);
strTab[i][len] = '\0';
d2 ^= cdiCheckSum(DATATYPE_TXT, (size_t)len, strTab[i]);
d2 ^= cdiCheckSum(DATATYPE_TXT, len, strTab[i]);
}
serializeUnpack(buf, buf_size, position,
&d, 1, DATATYPE_UINT32, context);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment