$NetBSD: patch-ae,v 1.1 2004/11/27 04:41:12 jlam Exp $ --- common/slp_attr_l.l.orig 2002-05-10 01:23:43.000000000 -0400 +++ 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); -uint 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((uint)yy_scan_buffer(&buf[0], strlen(s) + 2)); + return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2)); } -void attr_close_lexer(uint handle) +void attr_close_lexer(unsigned long handle) { // assert(handle != 0); yy_delete_buffer((YY_BUFFER_STATE)handle);