[Spice-devel] [PATCH v3 20/51] Change code generated index type

Frediano Ziglio fziglio at redhat.com
Tue Jul 21 09:45:50 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