libsmi/libsmi-flex.patch

27 lines
754 B
Diff

Index: libsmi-0.4.8/lib/scanner-smi.h
===================================================================
--- libsmi-0.4.8.orig/lib/scanner-smi.h
+++ libsmi-0.4.8/lib/scanner-smi.h
@@ -21,7 +21,7 @@
#define YY_NO_UNPUT
extern char *yytext;
-extern int yyleng;
+extern size_t yyleng;
extern int smiEnterLexRecursion(FILE *file);
extern void smiLeaveLexRecursion();
Index: libsmi-0.4.8/lib/scanner-sming.h
===================================================================
--- libsmi-0.4.8.orig/lib/scanner-sming.h
+++ libsmi-0.4.8/lib/scanner-sming.h
@@ -21,7 +21,7 @@
#define YY_NO_UNPUT
extern char *yytext;
-extern int yyleng;
+extern size_t yyleng;
extern int smingEnterLexRecursion(FILE *file);
extern void smingLeaveLexRecursion();