X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsample.c;h=631736d013f2083259d8b851a62ea76459253268;hb=c434e369b6695f8135a2914e9a425edcdd09ef35;hp=96c5f4d9070705fadd7cebb297753aaec9ebd91b;hpb=d5e5cf282cc56899913654a62c425e584acecfb2;p=pspp diff --git a/src/sample.c b/src/sample.c index 96c5f4d907..631736d013 100644 --- a/src/sample.c +++ b/src/sample.c @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include @@ -62,7 +62,7 @@ cmd_sample (void) if (!lex_force_num ()) return CMD_FAILURE; - if (!lex_integer_p ()) + if (!lex_is_integer ()) { unsigned long min = gsl_rng_min (get_rng ()); unsigned long max = gsl_rng_max (get_rng ());