From d217c83d02f7f20913618a67b424aec2f43446c0 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 11 Sep 2003 21:57:32 +0000 Subject: [PATCH] add a cast to make lint happy. --- lib/libpthread_dbg/pthread_dbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libpthread_dbg/pthread_dbg.c b/lib/libpthread_dbg/pthread_dbg.c index 79bb1be47dc0..6a9d3833964a 100644 --- a/lib/libpthread_dbg/pthread_dbg.c +++ b/lib/libpthread_dbg/pthread_dbg.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_dbg.c,v 1.8 2003/07/17 21:14:49 nathanw Exp $ */ +/* $NetBSD: pthread_dbg.c,v 1.9 2003/09/11 21:57:32 christos Exp $ */ /*- * Copyright (c) 2002 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__RCSID("$NetBSD: pthread_dbg.c,v 1.8 2003/07/17 21:14:49 nathanw Exp $"); +__RCSID("$NetBSD: pthread_dbg.c,v 1.9 2003/09/11 21:57:32 christos Exp $"); #include #include @@ -300,7 +300,7 @@ td_thr_getname(td_thread_t *thread, char *name, int len) if (nameaddr == 0) name[0] = '\0'; else if ((val = READ(thread->proc, nameaddr, - name, MIN(PTHREAD_MAX_NAMELEN_NP, len))) != 0) + name, (size_t)MIN(PTHREAD_MAX_NAMELEN_NP, len))) != 0) return val; return 0;