Commit e74fa927 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix pointless conversion.

parent d324c81d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment