summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-08-05 17:02:24 +0000
committerguenther <guenther@openbsd.org>2013-08-05 17:02:24 +0000
commitf96727362d4f2e957b30abc683ae7e702e1a266f (patch)
treeed29dee95b75e4f64c581989214f56a042caa7e9
parentDon't assume inode numbers fit in a long (diff)
downloadwireguard-openbsd-f96727362d4f2e957b30abc683ae7e702e1a266f.tar.xz
wireguard-openbsd-f96727362d4f2e957b30abc683ae7e702e1a266f.zip
Use proper types for device and inode numbers
ok kettenis@
-rw-r--r--gnu/usr.bin/texinfo/info/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/texinfo/info/dir.c b/gnu/usr.bin/texinfo/info/dir.c
index a42e77dec1f..5205538d587 100644
--- a/gnu/usr.bin/texinfo/info/dir.c
+++ b/gnu/usr.bin/texinfo/info/dir.c
@@ -1,5 +1,5 @@
/* dir.c -- how to build a special "dir" node from "localdir" files.
- $Id: dir.c,v 1.4 2006/07/17 16:12:36 espie Exp $
+ $Id: dir.c,v 1.5 2013/08/05 17:02:24 guenther Exp $
Copyright (C) 1993, 1997, 1998, 2004 Free Software Foundation, Inc.
@@ -44,8 +44,8 @@ static char *dirs_to_add[] = {
typedef struct
{
- unsigned long device;
- unsigned long inode;
+ dev_t device;
+ ino_t inode;
} dir_file_list_entry_type;
static int