1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build on 64bit platforms

This commit is contained in:
Tilman Keskinoz 2007-08-12 17:56:08 +00:00
parent eac64ff7de
commit b89f2c06ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197540

View File

@ -0,0 +1,11 @@
--- src/squirrel/squirrel.h.orig 2007-08-12 19:46:49.000000000 +0200
+++ src/squirrel/squirrel.h 2007-08-12 19:47:31.000000000 +0200
@@ -44,7 +44,7 @@
typedef int SQInt32; //must be 32 bits(also on 64bits processors)
typedef void* SQUserPointer;
typedef unsigned int SQUnsignedInteger;
-typedef unsigned int SQHash; //should be the same size of a pointer
+typedef unsigned long SQHash; //should be the same size of a pointer
typedef SQUnsignedInteger SQBool;
typedef SQInteger SQRESULT;