]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.c
upgraded both QuakeC VMs to use a table of negative string indices for all dynamic...
[xonotic/darkplaces.git] / common.c
index f568a828ea60f9812b2170a0a2d51f0dd389701f..0c8dc3fc34aa51ce16a9c411cf0d4bcbf3556df5 100644 (file)
--- a/common.c
+++ b/common.c
@@ -171,7 +171,7 @@ static unsigned short crctable[256] =
        0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0
 };
 
-unsigned short CRC_Block(qbyte *data, int size)
+unsigned short CRC_Block(const qbyte *data, int size)
 {
        unsigned short crc = CRC_INIT_VALUE;
        while (size--)