diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-12-14 19:23:34 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-12-14 19:23:34 +0000 |
commit | 02eea9378e364fc2bd69b79e9220f389e21c45ec (patch) | |
tree | 0f7a6c60010cb6e1866de9ab20a16ccd7df2ff2e /epan/uat_load.l | |
parent | 478f83dd2a78d9fff8fbdd171e7b011aa0605127 (diff) |
More shorten-64-to-32 warnings.
svn path=/trunk/; revision=54106
Diffstat (limited to 'epan/uat_load.l')
-rw-r--r-- | epan/uat_load.l | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/uat_load.l b/epan/uat_load.l index dd42dd80b3..815f25b139 100644 --- a/epan/uat_load.l +++ b/epan/uat_load.l @@ -113,8 +113,8 @@ static guint parse_str_pos; #define YY_INPUT(buf,result,max_size) \ if ( parse_str ) \ { \ - int n = 0; \ - guint pslen = strlen(parse_str); \ + size_t n = 0; \ + size_t pslen = strlen(parse_str); \ if (parse_str_pos < pslen) \ { \ n = pslen - parse_str_pos; \ @@ -180,11 +180,11 @@ comment #[^\n]*\n BEGIN END_OF_RECORD; - yyless(yyleng); + yyless((int) yyleng); } <START_OF_LINE,NEXT_FIELD>{quoted_string} { - ptrx = uat_undquote(yytext,yyleng,&len); + ptrx = uat_undquote(yytext, (guint) yyleng, &len); if (colnum < uat->ncols - 1) { @@ -197,7 +197,7 @@ comment #[^\n]*\n } <START_OF_LINE,NEXT_FIELD>{binstring} { - ptrx = uat_unbinstring(yytext,yyleng,&len); + ptrx = uat_unbinstring(yytext, (guint) yyleng, &len); if (!ptrx) { ERROR(("uneven hexstring for field %s",uat->fields[colnum].name)); |