- Drop GCC requirement to 4.8 - Remove -Werror for i386, for now anyway - Require FreeBSD 10.0 or higher for strchrnul() - Fix a few warnings noticed by gcc with optimization on Sponsored by: EMC / Isilon Storage Division
11 lines
324 B
Text
11 lines
324 B
Text
--- src/ldlex.l.orig 2014-02-05 00:21:44 UTC
|
|
+++ src/ldlex.l
|
|
@@ -148,7 +148,7 @@ VERSION { return kVERSION; }
|
|
|
|
"["([RWX]){0,3}"]" { int cnt = 1 ;
|
|
ldlval.num = 0;
|
|
- while (cnt < yyleng - 1)
|
|
+ while (cnt < (int)yyleng - 1)
|
|
ldlval.num |= attrib_convert (yytext[cnt++]);
|
|
return kMODE; }
|
|
|