summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 09:24:34 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 09:24:34 +0000
commit2af02c352da63d9cfd84e80b75c39c13e7116c25 (patch)
tree5c6d7cbb654e6a0323f5a7c193f85c3207ac886c /libstore
parentbfd5e71042092bceb3e4fb6b25aaefd8e0fa70ee (diff)
2002-05-07 Roland McGrath <roland@frob.com>
* set.c (store_set_runs): Fix argument type. * kids.c (store_set_children): Likewise.
Diffstat (limited to 'libstore')
-rw-r--r--libstore/set.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstore/set.c b/libstore/set.c
index a1682539..b9ff4f41 100644
--- a/libstore/set.c
+++ b/libstore/set.c
@@ -1,6 +1,6 @@
/* Setting various store fields
- Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,2001,02 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This file is part of the GNU Hurd.
@@ -28,7 +28,7 @@
/* Set STORE's current runs list to (a copy of) RUNS and NUM_RUNS. */
error_t
store_set_runs (struct store *store,
- const struct store_run *runs, unsigned num_runs)
+ const struct store_run *runs, size_t num_runs)
{
unsigned size = num_runs * sizeof (struct store_run);
struct store_run *copy = malloc (size);