Module Name: src Committed By: yamt Date: Wed Mar 6 11:27:28 UTC 2013
Modified Files: src/lib/libc/gen: telldir.c Log Message: remove unnecessary casts To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/gen/telldir.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gen/telldir.c diff -u src/lib/libc/gen/telldir.c:1.19 src/lib/libc/gen/telldir.c:1.20 --- src/lib/libc/gen/telldir.c:1.19 Sun May 4 18:53:26 2008 +++ src/lib/libc/gen/telldir.c Wed Mar 6 11:27:28 2013 @@ -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; }