From: Ben Pfaff Date: Tue, 28 Jul 2015 02:48:13 +0000 (-0700) Subject: dump: Fix everything up through dims for v1 and v3 SPV files. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1170cd2e9215a87aaaad36796fd9661691a4e29a;p=pspp dump: Fix everything up through dims for v1 and v3 SPV files. --- diff --git a/dump.c b/dump.c index df633fa660..697ace697b 100644 --- a/dump.c +++ b/dump.c @@ -620,7 +620,8 @@ dump_dim(int indx) if (!match_byte(0)) match_byte_assert(1); match_byte_assert(1); - match_u32_assert(indx); + if (!match_u32(UINT32_MAX)) + match_u32_assert(indx); n_categories = get_u32(); int indexes[2048];