Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IcMyU-0007xc-CY for qemu-devel@nongnu.org; Mon, 01 Oct 2007 11:14:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IcMyR-0007xQ-SY for qemu-devel@nongnu.org; Mon, 01 Oct 2007 11:14:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IcMyR-0007xN-Nc for qemu-devel@nongnu.org; Mon, 01 Oct 2007 11:14:19 -0400 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IcMyR-0001IT-AO for qemu-devel@nongnu.org; Mon, 01 Oct 2007 11:14:19 -0400 Received: from localhost (karma.qumranet.com [10.0.50.239]) by il.qumranet.com (Postfix) with ESMTP id BE1F1250D41 for ; Mon, 1 Oct 2007 17:14:30 +0200 (IST) Date: Mon, 1 Oct 2007 17:12:20 +0200 From: Dan Kenigsberg Message-ID: <20071001151220.GB19458@karma.qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] typo in qemu_next_deadline() Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org (int64_t)UINT64_MAX is -1 and should not be assigned to nearest_delta_us Index: vl.c =================================================================== RCS file: /sources/qemu/qemu/vl.c,v retrieving revision 1.343 diff -u -p -r1.343 vl.c --- vl.c 29 Sep 2007 19:24:40 -0000 1.343 +++ vl.c 1 Oct 2007 14:55:05 -0000 @@ -1181,7 +1179,7 @@ static void host_alarm_handler(int host_ static uint64_t qemu_next_deadline(void) { - int64_t nearest_delta_us = UINT64_MAX; + int64_t nearest_delta_us = INT64_MAX; int64_t vmdelta_us; if (active_timers[QEMU_TIMER_REALTIME])