X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnulib%2Fxsize.h;h=284cf7f6e18740534dce9cf458ec0f849485954c;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=341fb16ca796f796ff00f132050d331e56ff97c5;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/gnulib/xsize.h b/gnulib/xsize.h index 341fb16..284cf7f 100644 --- a/gnulib/xsize.h +++ b/gnulib/xsize.h @@ -1,10 +1,10 @@ /* 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 - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -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)