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

This commit is contained in:
itojun 2002-11-28 10:00:17 +00:00
parent 935a2e30db
commit 8d1263a490
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ write_ent_proc (node, closure)
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);