TTimo/bspc — pull request #3 by neogeographica (2013-10-19 04:11:43+00:00)
Title: fix checksum calculation on non-Windows platforms

With bspc built on OS X or Centos, a generated aas file for a given bsp
is exactly the same as when generated on Windows, except for the
checksum.

The reason is that on those platforms, the UINT4 data type defined in
md4.c is 8 bytes in size rather than 4 bytes.

Changing that type definition from "unsigned long int" to "unsigned int"
makes the data type 4 bytes in size on all three platforms, resulting in
correct & identical aas files for all three.

It's not a bulletproof way of specifying a 4-byte int, but as far as I
know it should be 4 bytes on any current platform that could build & run
bspc.