$NetBSD: patch-aa,v 1.1 2009/11/28 20:25:40 pgoyette Exp $

Use an explicit 32-bit data type.

--- ../glkterm/glk.h.orig	2009-11-20 14:08:17.000000000 -0800
+++ ../glkterm/glk.h	2009-11-20 13:06:19.000000000 -0800
@@ -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 <sys/inttypes.h>
+
+typedef uint32_t glui32;
+typedef int32_t glsi32;
 
 /* These are the compile-time conditionals that reveal various Glk optional
     modules. */
