diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 18:02:34 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:13:14 +0200 |
commit | 3cc0fb24ce1473717021c4dc2c3c9789ca87e310 (patch) | |
tree | b8b1565ef509fa94054dc0eaa383d4ea695c4131 /python_modules/marshal.py | |
parent | 916863202a5c7708f7ec27e1905aab7d4999a527 (diff) | |
download | spice-3cc0fb24ce1473717021c4dc2c3c9789ca87e310.tar.gz spice-3cc0fb24ce1473717021c4dc2c3c9789ca87e310.tar.xz spice-3cc0fb24ce1473717021c4dc2c3c9789ca87e310.zip |
mingw32 build: python_modules/marshal: use unsigned for for_loop index variable
Diffstat (limited to 'python_modules/marshal.py')
-rw-r--r-- | python_modules/marshal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/marshal.py b/python_modules/marshal.py index 9ee1466d..a82df981 100644 --- a/python_modules/marshal.py +++ b/python_modules/marshal.py @@ -120,7 +120,7 @@ def write_marshal_ptr_function(writer, target_type): writer.header = header writer.out_prefix = "" if target_type.is_array(): - scope = writer.function(marshal_function, "SPICE_GNUC_UNUSED static void", "SpiceMarshaller *m, %s_t *ptr, int count" % target_type.element_type.primitive_type() + names_args) + scope = writer.function(marshal_function, "SPICE_GNUC_UNUSED static void", "SpiceMarshaller *m, %s_t *ptr, unsigned count" % target_type.element_type.primitive_type() + names_args) else: scope = writer.function(marshal_function, "void", "SpiceMarshaller *m, %s *ptr" % target_type.c_type() + names_args) header.writeln("void " + marshal_function + "(SpiceMarshaller *m, %s *msg" % target_type.c_type() + names_args + ");") |