$NetBSD$

--- common/slp_attr_l.l.orig	2005-05-26 20:00:07.000000000 +0100
+++ common/slp_attr_l.l
@@ -82,9 +82,9 @@ int slp_attr_wrap(void);
 
 int slp_attr_lex(void);
 
-void slp_attr_close_lexer(unsigned int handle);
+void slp_attr_close_lexer(unsigned long handle);
 
-unsigned int slp_attr_init_lexer(char *s);
+unsigned long slp_attr_init_lexer(char *s);
 
 
 %}
@@ -194,14 +194,14 @@ val				[^(),\\!<>~\x00-\x1f*_\r\n\t]
 
 %%
 
-unsigned int slp_attr_init_lexer(char *s)
+unsigned long slp_attr_init_lexer(char *s)
 {
     memset(&buf[0], 0x00, 2052);
     strncpy(&buf[0], s, 2052);
-    return((unsigned int)yy_scan_buffer(&buf[0], strlen(s) + 2));
+    return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2));
 }
 
-void attr_close_lexer(unsigned int handle)
+void attr_close_lexer(unsigned long handle)
 {
     // assert(handle != 0);
     yy_delete_buffer((YY_BUFFER_STATE)handle);
