mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
25 lines
765 B
Plaintext
25 lines
765 B
Plaintext
$NetBSD: patch-lib_cftoken.l,v 1.1 2013/10/10 00:09:38 joerg Exp $
|
|
|
|
--- lib/cftoken.l.orig 2013-10-09 23:00:24.000000000 +0000
|
|
+++ lib/cftoken.l
|
|
@@ -53,7 +53,6 @@
|
|
extern int yyget_lineno (void);
|
|
extern FILE *yyget_in (void);
|
|
extern FILE *yyget_out (void);
|
|
-extern int yyget_leng (void);
|
|
extern char *yyget_text (void);
|
|
extern void yyset_lineno (int);
|
|
extern void yyset_in (FILE *);
|
|
@@ -76,9 +75,9 @@ static char rcf_linebuf[CF_LINEBUFSIZE];
|
|
#define YYDEBUG 1
|
|
#define DP \
|
|
if (cf_debug) { \
|
|
- fprintf(CF_ERRDEV, "%s:%d:%d[%s] len=%d\n", \
|
|
+ fprintf(CF_ERRDEV, "%s:%d:%d[%s] len=%zu\n", \
|
|
rcf_istk[rcf_istkp].path, rcf_istk[rcf_istkp].lineno, \
|
|
- yy_start, yytext, yyleng); \
|
|
+ yy_start, yytext, (size_t)yyleng); \
|
|
}
|
|
#else
|
|
#define DP
|