Thomas Gummerer <t.gummerer@xxxxxxxxx> writes: > + stat_crc = crc32(stat_crc, (Bytef*)&stat, 4); > + stat = htonl(ce->ce_ino); > + stat_crc = crc32(stat_crc, (Bytef*)&stat, 4); > + stat = htonl(ce->ce_size); > + stat_crc = crc32(stat_crc, (Bytef*)&stat, 4); > + stat = htonl(ce->ce_dev); > + stat_crc = crc32(stat_crc, (Bytef*)&stat, 4); > + stat = htonl(ce->ce_uid); > + stat_crc = crc32(stat_crc, (Bytef*)&stat, 4); > + stat = htonl(ce->ce_gid); > + stat_crc = crc32(stat_crc, (Bytef*)&stat, 4); > + return stat_crc; What are these (Bytef *) casts are about? We do not use it in any of our existing calls to crc32(). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html