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

Frediano Ziglio fziglio at redhat.com
Fri Aug 7 08:00:39 PDT 2015


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



More information about the Spice-devel mailing list