mirror of https://github.com/mkerrisk/man-pages
Changed (char *) to (void *) in example.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313607
This commit is contained in:
parent
475f1bca2c
commit
1b05fb00b3
|
@ -169,7 +169,7 @@ some of them.
|
|||
e.key = data[i];
|
||||
/* data is just an integer, instead of a
|
||||
pointer to something */
|
||||
e.data = (char *)i;
|
||||
e.data = (void *)i;
|
||||
ep = hsearch(e, ENTER);
|
||||
/* there should be no failures */
|
||||
if (ep == NULL) {
|
||||
|
|
Loading…
Reference in New Issue