While redistributing space between HFS and NTFS partitions you get this kind of message:
File system has allocation errors due to cross-linked files.
Run OS built-in tools for checking and correcting this kind of errors
1. Repair file system on Macintosh System partition.
Click ”First Aid” (red rectangle)
Click “Run” to start repair
2. Repair your Bootcamp partition file system errors.
To repair file system errors you need to use chkdsk. Please find more information on this operation in this article.