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

Submitted by Frediano Ziglio on July 8, 2015, 1:53 p.m.

Details

Message ID 1436363656-4266-21-git-send-email-fziglio@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Frediano Ziglio July 8, 2015, 1:53 p.m.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
---
 python_modules/dissector.py | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

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