LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libsmi-flex.patch of Package libsmi (Project openSUSE:Factory)

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();