From adf2f426ab3869f3550d3cd56f48d0590d50f502 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 20 Feb 2007 09:39:17 +0000 Subject: [PATCH] Fix type of thread id --- src/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/log.c b/src/log.c index 4ff5e18..ed2e05e 100644 --- a/src/log.c +++ b/src/log.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: log.c,v 1.46 2007-02-05 17:51:48 adam Exp $ + * $Id: log.c,v 1.47 2007-02-20 09:39:17 adam Exp $ */ /** @@ -388,7 +388,7 @@ static void yaz_strftime(char *dst, size_t sz, #ifdef WIN32 DWORD tid = GetCurrentThreadId(); #else - long tid = 0; + pthread_t tid = 0; #if YAZ_POSIX_THREADS tid = pthread_self(); #endif -- 1.7.10.4