Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/cvs/src deal with systems with sizeof(void *) != si...



details:   https://anonhg.NetBSD.org/src/rev/732be13b44ed
branches:  trunk
changeset: 539870:732be13b44ed
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Nov 28 10:00:17 2002 +0000

description:
deal with systems with sizeof(void *) != sizeof(int)

diffstat:

 gnu/dist/cvs/src/entries.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 33aa34efdd2b -r 732be13b44ed gnu/dist/cvs/src/entries.c
--- a/gnu/dist/cvs/src/entries.c        Thu Nov 28 09:57:16 2002 +0000
+++ b/gnu/dist/cvs/src/entries.c        Thu Nov 28 10:00:17 2002 +0000
@@ -95,7 +95,7 @@
     entnode = (Entnode *) node->data;
 
     if (closure != NULL && entnode->type != ENT_FILE)
-       *(int *) closure = 1;
+       closure = (void *)1;
 
     if (fputentent(entfile, entnode))
        error (1, errno, "cannot write %s", entfilename);



Home | Main Index | Thread Index | Old Index