aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-10-08 11:13:09 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-10-08 11:13:09 +0200
commit451d627530686833fd5fffba9d412dfa9fe41fc5 (patch)
tree3bdbf2babd6c433c3823c80bf8fdc627e255f0d8 /build-aux
parent150768f6bba84182e7d3a956c36d5a7d27129759 (diff)
downloadexternal_libqmi-451d627530686833fd5fffba9d412dfa9fe41fc5.zip
external_libqmi-451d627530686833fd5fffba9d412dfa9fe41fc5.tar.gz
external_libqmi-451d627530686833fd5fffba9d412dfa9fe41fc5.tar.bz2
qmi-codegen: make sure expected len is 4 bytes
Suggested by Thomas Haller <thaller@redhat.com>.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/qmi-codegen/Field.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/qmi-codegen/Field.py b/build-aux/qmi-codegen/Field.py
index 8542690..784dc64 100644
--- a/build-aux/qmi-codegen/Field.py
+++ b/build-aux/qmi-codegen/Field.py
@@ -345,7 +345,7 @@ class Field:
' const guint8 *buffer,\n'
' guint16 buffer_len)\n'
'{\n'
- ' guint expected_len = 0;\n'
+ ' guint32 expected_len = 0;\n'
'\n')
f.write(string.Template(template).substitute(translations))