summaryrefslogtreecommitdiff
path: root/lib/libpthread_dbg
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2003-09-11 21:57:32 +0000
committerchristos <christos@NetBSD.org>2003-09-11 21:57:32 +0000
commitd217c83d02f7f20913618a67b424aec2f43446c0 (patch)
treea41c9aa91349f517fb5a20bab97349494e68e349 /lib/libpthread_dbg
parent338cc5f663217e48ce9cc440af6aec0091b83e65 (diff)
add a cast to make lint happy.
Diffstat (limited to 'lib/libpthread_dbg')
-rw-r--r--lib/libpthread_dbg/pthread_dbg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread_dbg/pthread_dbg.c b/lib/libpthread_dbg/pthread_dbg.c
index 79bb1be47dc..6a9d3833964 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 <sys/cdefs.h>
-__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 <stddef.h>
#include <stdlib.h>
@@ -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;