From 2581c46b3b3f9f26fb74621beb5ede69f8816382 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 6 Jun 2007 16:32:34 +0000 Subject: [PATCH] Use LONGLONG rather than ULONGLONG on Windows to support good'old MSVC6. --- src/timing.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/timing.c b/src/timing.c index 3b653af..d26ab69 100644 --- a/src/timing.c +++ b/src/timing.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: timing.c,v 1.5 2007-05-06 20:12:20 adam Exp $ + * $Id: timing.c,v 1.6 2007-06-06 16:32:34 adam Exp $ */ /** @@ -38,9 +38,9 @@ struct yaz_timing { struct timeval start_time, end_time; #endif #ifdef WIN32 - ULONGLONG start_time, end_time; - ULONGLONG start_time_sys, start_time_user; - ULONGLONG end_time_sys, end_time_user; + LONGLONG start_time, end_time; + LONGLONG start_time_sys, start_time_user; + LONGLONG end_time_sys, end_time_user; #endif double real_sec, user_sec, sys_sec; }; @@ -67,7 +67,7 @@ static void get_process_time(ULONGLONG *lp_user, ULONGLONG *lp_sys) li.HighPart = sys_t.dwHighDateTime; *lp_sys = li.QuadPart; } -static void get_date_as_largeinteger(ULONGLONG *lp) +static void get_date_as_largeinteger(LONGLONG *lp) { FILETIME f; ULARGE_INTEGER li; -- 1.7.10.4