From: Adam Dickmeiss Date: Tue, 20 Feb 2007 09:39:17 +0000 (+0000) Subject: Fix type of thread id X-Git-Tag: YAZ.2.1.49.1~7 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=adf2f426ab3869f3550d3cd56f48d0590d50f502;ds=sidebyside Fix type of thread id --- 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