Int size on 64 bit

This commit is contained in:
Mikkel Kruse Johnsen 2014-11-05 08:48:24 +01:00
parent 9df74498ed
commit 54eb84c40c

View file

@ -64,7 +64,7 @@ namespace Gdk {
int block_size;
if (format == 32) { // data returned in blocks the size of a C long
#if WIN64LONGS
block_size = int.Size;
block_size = sizeof(int);
#else
block_size = IntPtr.Size;
#endif