From: Ben Pfaff Date: Thu, 22 Apr 2010 02:57:00 +0000 (-0700) Subject: integer-format: Support 64-bit integers in integer_get(). X-Git-Tag: v0.7.5~52 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e1385abf073967d66c4b78888f4615ed6671375;p=pspp-builds.git integer-format: Support 64-bit integers in integer_get(). My guess is that this was just a typo from when I originally wrote this function. --- diff --git a/src/libpspp/integer-format.c b/src/libpspp/integer-format.c index fa5d6da9..2d8a72ef 100644 --- a/src/libpspp/integer-format.c +++ b/src/libpspp/integer-format.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ integer_get (enum integer_format format, const void *from_, size_t cnt) size_t i; assert (is_integer_format (format)); - assert (cnt < 8); + assert (cnt <= 8); switch (format) {