[Spice-devel] [PATCH v4 10/41] dissector: Change code generated index type

Christophe Fergeau cfergeau at redhat.com
Thu Jul 30 08:18:43 PDT 2015


I think you mentioned in another commit that this was because of some
portability issues, wireshark being built with compilers not supporting
uint32_t/..., this would not hurt to have this again in this commit log,
this will make git blame more helpful.

On Thu, Jul 23, 2015 at 04:54:27PM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  python_modules/dissector.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/python_modules/dissector.py b/python_modules/dissector.py
> index b93b9ce..ea13033 100644
> --- a/python_modules/dissector.py
> +++ b/python_modules/dissector.py
> @@ -239,6 +239,8 @@ def write_protocol_parser(writer, proto):
>  
>      decorate_writer(writer)
>  
> +    writer.index_type = 'guint32'
> +
>      write_parser_helpers(writer)
>  
>      # put fields declaration first
> -- 
> 2.1.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150730/0430a083/attachment.sig>


More information about the Spice-devel mailing list