scanner.l: fix a few implicit conversion warnings
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:40:08 +0000 (16:40 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:40:08 +0000 (16:40 +0200)
commit0261b776d7300048bfc95be6f808e98fbe896f76
treebbdd673b3ddc0fb9f4cda8286df402cfcc321f77
parentf8322f27a5cfa8dbd890e3656b77ae77758c45c7
scanner.l: fix a few implicit conversion warnings

  LEX      src/liboconfig/scanner.c
  CC       src/liboconfig/liboconfig_la-scanner.lo
src/liboconfig/scanner.l:113:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        int len = strlen (yytext);
            ~~~   ^~~~~~~~~~~~~~~
src/liboconfig/scanner.l:129:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        int len = strlen (yytext);
            ~~~   ^~~~~~~~~~~~~~~
src/liboconfig/scanner.l