$NetBSD: patch-aa,v 1.3 2010/12/25 09:59:25 obache Exp $ Use an explicit 32-bit data type. --- glkterm/glk.h.orig 2008-03-15 15:43:04.000000000 +0000 +++ glkterm/glk.h @@ -17,8 +17,15 @@ /* You may have to edit the definition of glui32 to make sure it's really a 32-bit unsigned integer type, and glsi32 to make sure it's really a 32-bit signed integer type. If they're not, horrible things will happen. */ -typedef unsigned long glui32; -typedef signed long glsi32; +/* + * typedef unsigned long glui32; + * typedef signed long glsi32; + */ + +#include + +typedef uint32_t glui32; +typedef int32_t glsi32; /* These are the compile-time conditionals that reveal various Glk optional modules. */