X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxsize.h;h=2d99a6b14dada690ad41eec16c52de6e2a176ab2;hb=679b14d8851a364efdffbdf50d4aa43921762076;hp=7634c6d4d5a4047da0f1896b410b163bd4edbe40;hpb=c2f12281bc0c2d786a6d0ee0e536d09e7af0ca9b;p=gnulib.git diff --git a/lib/xsize.h b/lib/xsize.h index 7634c6d4d..2d99a6b14 100644 --- a/lib/xsize.h +++ b/lib/xsize.h @@ -1,6 +1,6 @@ /* xsize.h -- Checked size_t computations. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2008 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 @@ -14,7 +14,7 @@ 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. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _XSIZE_H #define _XSIZE_H @@ -94,7 +94,7 @@ xmax (size_t size1, size_t size2) /* Multiplication of a count with an element size, with overflow check. The count must be >= 0 and the element size must be > 0. This is a macro, not an inline function, so that it works correctly even - when N is of a wider tupe and N > SIZE_MAX. */ + when N is of a wider type and N > SIZE_MAX. */ #define xtimes(N, ELSIZE) \ ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)