diff options
author | Gabe Black <gabeblack@google.com> | 2017-10-04 19:19:22 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-10-05 09:14:50 +0000 |
commit | 2243430eac4f6049d2f943627ad993e74eca31eb (patch) | |
tree | 79d1619e33c220634d27876e7deef6bed157474c /ext/libfdt/fdt_ro.c | |
parent | f33bef4e3b9c865ed8febcdcc2244d6838bc0738 (diff) | |
download | gem5-2243430eac4f6049d2f943627ad993e74eca31eb.tar.xz |
misc: Fix the indentation in DecodeVarint in util/protolib.py.
The DecodeVarint was, as a comment describes, lifted from
google.protobuf.internal.decoder. Unfortunately, the relative indentation of
some lines was changed, changing what scope they fell under. This changed the
behavior of the function, breaking it for multibyte and negative values.
This change restores the correct indentation and fixes the function's
behavior.
Change-Id: If645649506b0fe5a617b37a8202c9ca1c57aaf15
Reviewed-on: https://gem5-review.googlesource.com/5000
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'ext/libfdt/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions