0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0
};
-unsigned short CRC_Block(const qbyte *data, int size)
+unsigned short CRC_Block(const qbyte *data, size_t size)
{
unsigned short crc = CRC_INIT_VALUE;
while (size--)
if (!s)
SZ_Write (sb, "", 1);
else
- SZ_Write (sb, s, strlen(s)+1);
+ SZ_Write (sb, s, (int)strlen(s)+1);
}
void MSG_WriteCoord13i (sizebuf_t *sb, float f)
l = *text;
commentprefixlength = 0;
if (commentprefix)
- commentprefixlength = strlen(commentprefix);
+ commentprefixlength = (int)strlen(commentprefix);
while (*l && *l != '\n' && *l != '\r')
{
if (*l > ' ')