$OpenBSD: patch-base_src_common_Serializable_h,v 1.3 2002/09/04 16:21:43 todd Exp $
--- base/src/common/Serializable.h.orig	Mon Jul 29 22:48:35 2002
+++ base/src/common/Serializable.h	Tue Sep  3 23:34:47 2002
@@ -56,8 +56,8 @@ enum {
 typedef struct DeserializeInfo DeserializeInfo;
 struct DeserializeInfo {
   struct SerialType *st;
-  unsigned long tyConst;	/* type constant as serialized */
-  unsigned long ver;		/* version number as serialized */
+  u_int32_t tyConst;	/* type constant as serialized */
+  u_int32_t ver;		/* version number as serialized */
 };
 
 #define OBTYPE(nm,prefix,abbrev,ver) \
@@ -76,8 +76,8 @@ struct DeserializeInfo {
     canonicalize the internal representation before displaying the
     object. */
 struct SerialType {
-  unsigned long typ;		/* type constant for this object */
-  unsigned long ver;		/* version constant for this object */
+  u_int32_t typ;		/* type constant for this object */
+  u_int32_t ver;		/* version constant for this object */
   const char *  tyName;		/* used in texty formats */
   const char *  prefix;         /* used as first part of truename */
   void *        (*deserialize) (const DeserializeInfo *, SDR_stream *);
@@ -99,7 +99,7 @@ struct Serializable {
 #define serTrueName ser.ser_trueName
 #define serPrefix ser.ser_type->prefix
 
-SerialType *ser_find_type(unsigned long ty);
+SerialType *ser_find_type(u_int32_t ty);
 void ser_init(void);
 
 const char *ser_getTrueName(const void *);
