summaryrefslogtreecommitdiff
path: root/lib/xsize.h
diff options
context:
space:
mode:
authorAtsushi SAKAI <sakaia@jp.fujitsu.com>2008-02-28 15:26:44 +0100
committerBruno Haible <bruno@clisp.org>2008-02-28 15:26:44 +0100
commitd71a11027511fe0749d9fc463439b28aec01c486 (patch)
treef4d8fa724f4199e3a45984d35de8e5e46acb50db /lib/xsize.h
parent4bf3a252770203a92858bb666561559f3fef5887 (diff)
downloadgnulib-d71a11027511fe0749d9fc463439b28aec01c486.tar.gz
Fix typo in comment.
Diffstat (limited to 'lib/xsize.h')
-rw-r--r--lib/xsize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xsize.h b/lib/xsize.h
index 341fb16ca7..2d99a6b14d 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
@@ -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)