Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / openslp / patches / patch-ae
blobcb3409f19285dfdcfcdf3c40ffec283ffe3c7116
1 $NetBSD$
3 --- common/slp_attr_l.l.orig    2005-05-26 20:00:07.000000000 +0100
4 +++ common/slp_attr_l.l
5 @@ -82,9 +82,9 @@ int slp_attr_wrap(void);
6  
7  int slp_attr_lex(void);
8  
9 -void slp_attr_close_lexer(unsigned int handle);
10 +void slp_attr_close_lexer(unsigned long handle);
12 -unsigned int slp_attr_init_lexer(char *s);
13 +unsigned long slp_attr_init_lexer(char *s);
16  %}
17 @@ -194,14 +194,14 @@ val                               [^(),\\!<>~\x00-\x1f*_\r\n\t]
19  %%
21 -unsigned int slp_attr_init_lexer(char *s)
22 +unsigned long slp_attr_init_lexer(char *s)
23  {
24      memset(&buf[0], 0x00, 2052);
25      strncpy(&buf[0], s, 2052);
26 -    return((unsigned int)yy_scan_buffer(&buf[0], strlen(s) + 2));
27 +    return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2));
28  }
30 -void attr_close_lexer(unsigned int handle)
31 +void attr_close_lexer(unsigned long handle)
32  {
33      // assert(handle != 0);
34      yy_delete_buffer((YY_BUFFER_STATE)handle);