2014-03-10 10:18 GMT+01:00 Anders Broman <anders.bro...@ericsson.com>:

>  diff --git a/epan/wslua/lrexlib_algo.h b/epan/wslua/lrexlib_algo.h
>
> index 4aad145..ece7c8c 100644
>
> --- a/epan/wslua/lrexlib_algo.h
>
> +++ b/epan/wslua/lrexlib_algo.h
>
> @@ -94,7 +94,7 @@ static int get_startoffset(lua_State *L, int stackpos,
> size_t
>
>    if(startoffset > 0)
>
>      startoffset--;
>
>    else if(startoffset < 0) {
>
> -    startoffset += len/ALG_CHARSIZE;
>
> +    startoffset += (int)(len/ALG_CHARSIZE);
>
>      if(startoffset < 0)
>
>        startoffset = 0;
>
>    }
>

https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c3b012acd26de8be4d0abdabd50e8278689baf87

Regards,
Pascal.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to