diff --git a/lib/libc/gen/telldir.c b/lib/libc/gen/telldir.c index f631642ac2c4..1bbe14390af5 100644 --- a/lib/libc/gen/telldir.c +++ b/lib/libc/gen/telldir.c @@ -1,4 +1,4 @@ -/* $NetBSD: telldir.c,v 1.19 2008/05/04 18:53:26 tonnerre Exp $ */ +/* $NetBSD: telldir.c,v 1.20 2013/03/06 11:27:28 yamt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)telldir.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: telldir.c,v 1.19 2008/05/04 18:53:26 tonnerre Exp $"); +__RCSID("$NetBSD: telldir.c,v 1.20 2013/03/06 11:27:28 yamt Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -61,11 +61,11 @@ telldir(DIR *dirp) #ifdef _REENTRANT if (__isthreaded) { mutex_lock((mutex_t *)dirp->dd_lock); - rv = (intptr_t)_telldir_unlocked(dirp); + rv = _telldir_unlocked(dirp); mutex_unlock((mutex_t *)dirp->dd_lock); } else #endif - rv = (intptr_t)_telldir_unlocked(dirp); + rv = _telldir_unlocked(dirp); return rv; }