[Spice-devel] [PATCH v2 20/43] Change code generated index type

Frediano Ziglio fziglio at redhat.com
Wed Jul 8 06:53:53 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 af0494c..40e348a 100644
--- a/python_modules/dissector.py
+++ b/python_modules/dissector.py
@@ -236,6 +236,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